Creates the dialog widgets.
305 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
307 wxFlexGridSizer *item1 =
new wxFlexGridSizer( 3, 0, 0 );
309 wxStaticText *item2 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Name:"), wxDefaultPosition, wxDefaultSize, 0 );
310 item1->Add( item2, 0, wxALIGN_RIGHT|wxALL, 5 );
312 wxTextCtrl *item3 =
new wxTextCtrl( parent,
ID_NAME, wxT(
""), wxDefaultPosition, wxSize(300,-1), 0 );
313 item1->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
315 item1->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
317 wxStaticText *item4 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Plugin file path:"), wxDefaultPosition, wxDefaultSize, 0 );
318 item1->Add( item4, 0, wxALIGN_RIGHT|wxALL, 5 );
320 wxTextCtrl *item5 =
new wxTextCtrl( parent,
ID_PATH, wxT(
""), wxDefaultPosition, wxSize(80,-1), 0 );
321 item1->Add( item5, 0, wxGROW|wxALL, 5 );
323 wxButton *item6 =
new wxButton( parent,
ID_BROWSE, wxT(
"Browse..."), wxDefaultPosition, wxDefaultSize, 0 );
324 item1->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );
326 wxStaticText *item7 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Plugin type:"), wxDefaultPosition, wxDefaultSize, 0 );
327 item1->Add( item7, 0, wxALIGN_RIGHT|wxALL, 5 );
329 wxString *strs8 = (wxString*) NULL;
330 wxChoice *item8 =
new wxChoice( parent,
ID_TYPE, wxDefaultPosition, wxSize(100,-1), 0, strs8, 0 );
331 item1->Add( item8, 0, wxGROW|wxALL, 5 );
333 item1->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
335 wxStaticText *item9 =
new wxStaticText( parent,
ID_TEXT, wxT(
"Description:"), wxDefaultPosition, wxDefaultSize, 0 );
336 item1->Add( item9, 0, wxALIGN_RIGHT|wxALL, 5 );
338 wxTextCtrl *item10 =
new wxTextCtrl( parent,
ID_DESCRIPTION, wxT(
""), wxDefaultPosition, wxSize(200,60), wxTE_MULTILINE );
339 item1->Add( item10, 0, wxGROW|wxALL, 5 );
341 item0->Add( item1, 0, wxGROW|wxALL, 5 );
343 wxStaticBox *item12 =
new wxStaticBox( parent, -1, wxT(
"Plugin data:") );
344 wxStaticBoxSizer *item11 =
new wxStaticBoxSizer( item12, wxVERTICAL );
346 wxListCtrl *item13 =
new wxListCtrl( parent,
ID_LIST, wxDefaultPosition, wxSize(500,300), wxLC_REPORT|wxSUNKEN_BORDER );
347 item11->Add( item13, 0, wxGROW|wxALL, 5 );
349 item0->Add( item11, 0, wxGROW|wxALL, 5 );
351 wxBoxSizer *item14 =
new wxBoxSizer( wxHORIZONTAL );
353 wxButton *item15 =
new wxButton( parent,
ID_ADD, wxT(
"Add..."), wxDefaultPosition, wxDefaultSize, 0 );
354 item14->Add( item15, 0, wxALIGN_CENTER|wxALL, 5 );
356 wxButton *item16 =
new wxButton( parent,
ID_MODIFY, wxT(
"Modify..."), wxDefaultPosition, wxDefaultSize, 0 );
357 item14->Add( item16, 0, wxALIGN_CENTER|wxALL, 5 );
359 wxButton *item17 =
new wxButton( parent,
ID_DELETE, wxT(
"Delete"), wxDefaultPosition, wxDefaultSize, 0 );
360 item14->Add( item17, 0, wxALIGN_CENTER|wxALL, 5 );
362 item0->Add( item14, 0, wxALIGN_CENTER, 5 );
364 wxStaticLine *item18 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL );
365 item0->Add( item18, 0, wxGROW|wxALL, 5 );
367 wxBoxSizer *item19 =
new wxBoxSizer( wxHORIZONTAL );
369 wxButton *item20 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
370 item19->Add( item20, 0, wxALIGN_CENTER|wxALL, 5 );
372 wxButton *item21 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
373 item19->Add( item21, 0, wxALL, 5 );
375 item0->Add( item19, 0, 0, 5 );
379 parent->SetSizer( item0 );
381 item0->SetSizeHints( parent );