sizer1->Add(sdrRadio,1,wxGROW );
sizer = sizer1;
}
-
+
+ if (mbbShowNPoints->bbGetInputType() == 2) {
+ askPointLabel = new wxStaticText(panel, -1, _T("\nPOINT CONTROLS:")); // JPR
+
+ wxButton *btnAddPoint = new wxButton(panel, -1, _T(" Add Point "));
+ wxButton *btnDeleteAllPoints = new wxButton(panel, -1, _T(" Delete All "));
+ wxStaticText* spacer = new wxStaticText(panel, -1, _T("\n")); // JPR
+ textCtrl = new wxTextCtrl(panel, -1);
+
+ wxFlexGridSizer *sizer1 = new wxFlexGridSizer(1);
+
+ Connect(btnAddPoint->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction) & WidgetShowNPoints::OnAddPoint);
+ Connect(btnDeleteAllPoints->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction) & WidgetShowNPoints::OnDeleteAllPoints);
+
+ sizer1->Add(askPointLabel);
+ sizer1->Add(btnAddPoint);
+ sizer1->Add(btnDeleteAllPoints);
+ sizer1->Add(spacer);
+ sizer1->Add(textCtrl);
+
+ sdrOpacity = new wxSlider();
+ sdrRadio = new wxSlider();
+
+ txtNrPoints = new wxStaticText(panel, -1, _T("\n\n\n"));
+
+ sizer = sizer1;
+ }
if (sizer!=NULL)
{
panel->SetSizer(sizer);