29 : wxPanel(parent, -1, wxDefaultPosition, wxSize(sizex, sizey), wxBORDER_THEME){
30 wxFlexGridSizer* flexsizer =
new wxFlexGridSizer(3,1,2,2);
31 this->SetSizer(flexsizer,
true);
32 this->SetAutoLayout(
true );
36 wxFlexGridSizer* flexsizer1 =
new wxFlexGridSizer(1,2,2,2);
39 flexsizer1->Add(
radiobox,wxFIXED_MINSIZE);
40 flexsizer1->Add(
addremovecont,wxEXPAND | wxALIGN_CENTRE_VERTICAL);
45 flexsizer->Add(flexsizer1, wxFIXED );
46 flexsizer->Add(
gobuttxt, wxFIXED_MINSIZE);
59 wxPanel* panel =
new wxPanel(
this, -1, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE, wxString(_T(
"")));
60 wxString lstOptions[3];
61 lstOptions[0]=_T(
"A");
62 lstOptions[1]=_T(
"B");
63 lstOptions[2]=_T(
"C");
64 wxRadioBox* _spreadMethodRadiobox =
new wxRadioBox(panel, -1, _T(
"Method"), wxDefaultPosition, wxSize(45,80), 3 , lstOptions, 3, wxRA_SPECIFY_ROWS);
65 _spreadMethodRadiobox->SetSelection(2);
72 wxPanel* panel =
new wxPanel(
this, -1, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE, wxString(_T(
"")));
74 wxFlexGridSizer* flexsizer =
new wxFlexGridSizer(1,2,2,2);
75 panel->SetSizer(flexsizer,
true);
76 panel->SetAutoLayout(
true );
78 wxBitmap* bitmap =
new wxBitmap(wxString(path.c_str(),wxConvUTF8), wxBITMAP_TYPE_PNG);
80 wxBitmapButton* bitmapbutton =
new wxBitmapButton(panel, -1, *bitmap, wxDefaultPosition, wxDefaultSize,
81 wxBU_AUTODRAW, wxDefaultValidator, wxString(_T(
"")));
84 wxStaticText* statictext =
new wxStaticText(panel, -1, wxString(nom.c_str(),wxConvUTF8), wxDefaultPosition,
85 wxDefaultSize, wxALIGN_CENTRE, wxString(nom.c_str(),wxConvUTF8));
88 flexsizer->Add(bitmapbutton, wxFIXED_MINSIZE);
89 flexsizer->Add(statictext, wxALIGN_CENTRE_VERTICAL | wxALIGN_CENTER_HORIZONTAL |wxEXPAND);
98 wxPanel* panel =
new wxPanel(
this, -1, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE |wxVSCROLL , wxString(_T(
"")));
100 scrollwin =
new wxScrolledWindow(panel, -1, wxDefaultPosition, wxSize(80,50), wxVSCROLL, wxString(_T(
"")));
116 wxCheckBox* check =
new wxCheckBox(
scrollwin, -1, wxString(
id.c_str(),wxConvUTF8), wxDefaultPosition, wxDefaultSize, 0,
117 wxDefaultValidator, wxString(
id.c_str(),wxConvUTF8));
130 for(
int i = 0; i <
checkvect.size(); i++){
140 throw "The checkbox could not be removed";