Creates the dialog widgets.
121 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
123 wxBoxSizer *item1 =
new wxBoxSizer( wxHORIZONTAL );
125 wxStaticBox *item3 =
new wxStaticBox( parent, -1, wxT(
"Parametrized width:") );
126 wxStaticBoxSizer *item2 =
new wxStaticBoxSizer( item3, wxVERTICAL );
128 wxWindow *item4 =
new wxCheckListBox(parent,
ID_PARAM_WIDTH_LIST, wxDefaultPosition, wxSize(200, 240));
130 item2->Add( item4, 0, wxALIGN_CENTER|wxALL, 5 );
132 item1->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
134 wxStaticBox *item6 =
new wxStaticBox( parent, -1, wxT(
"Guard support:") );
135 wxStaticBoxSizer *item5 =
new wxStaticBoxSizer( item6, wxVERTICAL );
137 wxWindow *item7 =
new wxCheckListBox(parent,
ID_GUARD_SUPPORT_LIST, wxDefaultPosition, wxSize(200, 240));
139 item5->Add( item7, 0, wxALIGN_CENTER|wxALL, 5 );
141 item1->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
143 item0->Add( item1, 0, wxALIGN_CENTER|wxALL, 5 );
145 wxStaticLine *item8 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL );
146 item0->Add( item8, 0, wxGROW|wxALL, 5 );
148 wxBoxSizer *item9 =
new wxBoxSizer( wxHORIZONTAL );
150 wxButton *item10 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
151 item9->Add( item10, 0, wxALIGN_CENTER|wxALL, 5 );
153 wxButton *item11 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
154 item9->Add( item11, 0, wxALIGN_CENTER|wxALL, 5 );
156 item0->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );
160 parent->SetSizer( item0 );
162 item0->SetSizeHints( parent );