- wxFlexGridSizer *fgsizer = new wxFlexGridSizer(4, 2, 9, 25);
+ wxFlexGridSizer *fgsizer = new wxFlexGridSizer(5, 2, 9, 25);
+
+
+ // SELECTION CONSTANTS
+ // 0 - Application
+ // 1 - Complex box
+ _diagramType = new wxComboBox(panel, -1, wxEmptyString, wxDefaultPosition, wxSize(100,-1) );
+ _diagramType->Append (wxT("Application"));
+ _diagramType->Append (wxT("Complex box"));
+ _diagramType->SetEditable(false);
+ //_diagramType->Enable(false);
+
+ Connect(ID_COMBO, wxEVT_COMMAND_COMBOBOX_SELECTED,
+ wxCommandEventHandler(wxDiagramPropertiesEditionDialog::OnComboBoxSelected));