Creates the dialog window contents.
This method was generated with wxDesigner, thus the ugly code and too long lines.
165 {
166
167 wxBoxSizer *item0 = new wxBoxSizer( wxVERTICAL );
168
169 wxBoxSizer *item1 = new wxBoxSizer( wxHORIZONTAL );
170
171 wxStaticText *item2 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Parameter Name:"), wxDefaultPosition, wxDefaultSize, 0 );
172 item1->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
173
174 wxStaticText *item3 =
new wxStaticText( parent,
ID_NAME, wxT(
"xxxxxxxxxxxxxxx"), wxDefaultPosition, wxSize(150,-1), 0 );
175 item1->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
176
177 item0->Add( item1, 0, wxALL, 5 );
178
179 wxBoxSizer *item4 = new wxBoxSizer( wxHORIZONTAL );
180
181 wxStaticText *item5 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Parameter Type:"), wxDefaultPosition, wxDefaultSize, 0 );
182 item4->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
183
184 wxStaticText *item6 =
new wxStaticText( parent,
ID_TYPE, wxT(
"xxxxxxxxxxxx"), wxDefaultPosition, wxSize(150,-1), 0 );
185 item4->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );
186
187 item0->Add( item4, 0, wxALL, 5 );
188
189 wxBoxSizer *item7 = new wxBoxSizer( wxHORIZONTAL );
190
191 wxStaticText *item8 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Value:"), wxDefaultPosition, wxDefaultSize, 0 );
192 item7->Add( item8, 0, wxALIGN_CENTER|wxALL, 5 );
193
194 wxTextCtrl *item9 =
new wxTextCtrl( parent,
ID_VALUE, wxT(
""), wxDefaultPosition, wxSize(110,-1), 0 );
195 item7->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );
196
197 item0->Add( item7, 0, wxALIGN_CENTER|wxALL, 5 );
198
199 wxBoxSizer *item10 = new wxBoxSizer( wxHORIZONTAL );
200
201 wxButton *item11 =
new wxButton( parent,
ID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
202 item10->Add( item11, 0, wxALIGN_CENTER|wxALL, 5 );
203
204 wxButton *item12 =
new wxButton( parent,
ID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
205 item10->Add( item12, 0, wxALL, 5 );
206
207 item0->Add( item10, 0, wxALIGN_CENTER|wxALL, 5 );
208
209 if (set_sizer)
210 {
211 parent->SetSizer( item0 );
212 if (call_fit)
213 item0->SetSizeHints( parent );
214 }
215
216 return item0;
217}