749 wxFlexGridSizer *item0 =
new wxFlexGridSizer( 2, 0, 10 );
751 wxBoxSizer *item1 =
new wxBoxSizer( wxHORIZONTAL );
753 wxStaticText *item2 =
new wxStaticText( parent,
ID_LABEL_NAME, wxT(
"Name:"), wxDefaultPosition, wxDefaultSize, 0 );
754 item1->Add( item2, 0, wxALIGN_CENTER|wxALL, 5 );
756 wxTextCtrl *item3 =
new wxTextCtrl( parent,
ID_NAME, wxT(
""), wxDefaultPosition, wxSize(150,-1), 0 );
757 item1->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
759 item0->Add( item1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
761 wxBoxSizer *item4 =
new wxBoxSizer( wxHORIZONTAL );
763 wxStaticText *item5 =
new wxStaticText( parent,
ID_LABEL_AS, wxT(
"Address Space:"), wxDefaultPosition, wxDefaultSize, 0 );
764 item4->Add( item5, 0, wxALIGN_CENTER|wxALL, 5 );
766 wxString *strs6 = (wxString*) NULL;
767 wxChoice *item6 =
new wxChoice( parent,
ID_ADDRESS_SPACE, wxDefaultPosition, wxSize(150,-1), 0, strs6, 0 );
768 item4->Add( item6, 0, wxALIGN_CENTER|wxALL, 5 );
770 item0->Add( item4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
772 wxStaticBox *item8 =
new wxStaticBox( parent, -1, wxT(
"Operations:") );
773 wxStaticBoxSizer *item7 =
new wxStaticBoxSizer( item8, wxVERTICAL );
776 wxListCtrl *item9 =
new wxListCtrl( parent,
ID_OPERATION_LIST, wxDefaultPosition, wxSize(160,200), wxLC_REPORT|wxSUNKEN_BORDER );
777 item7->Add( item9, 0, wxGROW|wxALL, 5 );
779 wxBoxSizer *item10 =
new wxBoxSizer( wxHORIZONTAL );
781 wxButton *item11 =
new wxButton( parent,
ID_ADD_OPERATION, wxT(
"Add..."), wxDefaultPosition, wxDefaultSize, 0 );
782 item10->Add( item11, 0, wxALIGN_CENTER|wxALL, 5 );
784 wxButton *item12 =
new wxButton( parent,
ID_EDIT_OPERATION, wxT(
"Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
785 item10->Add( item12, 0, wxALIGN_CENTER|wxALL, 5 );
787 wxButton *item13 =
new wxButton( parent,
ID_DELETE_OPERATION, wxT(
"Delete"), wxDefaultPosition, wxDefaultSize, 0 );
788 item10->Add( item13, 0, wxALIGN_CENTER|wxALL, 5 );
790 item7->Add( item10, 0, wxALIGN_CENTER, 5 );
792 wxButton *item14 =
new wxButton( parent,
ID_ADD_OPERATION_FROM_OPSET, wxT(
" Add from Opset... "), wxDefaultPosition, wxDefaultSize, 0 );
793 item7->Add( item14, 0, wxALL, 5 );
795 item0->Add( item7, 0, wxGROW|wxALL, 5 );
797 wxStaticBox *item16 =
new wxStaticBox( parent, -1, wxT(
"Ports:") );
798 wxStaticBoxSizer *item15 =
new wxStaticBoxSizer( item16, wxVERTICAL );
801 wxListCtrl *item17 =
new wxListCtrl( parent,
ID_PORT_LIST, wxDefaultPosition, wxSize(160,200), wxLC_REPORT|wxSUNKEN_BORDER );
802 item15->Add( item17, 0, wxGROW|wxALL, 5 );
804 wxBoxSizer *item18 =
new wxBoxSizer( wxHORIZONTAL );
806 wxButton *item19 =
new wxButton( parent,
ID_ADD_PORT, wxT(
"Add..."), wxDefaultPosition, wxDefaultSize, 0 );
807 item18->Add( item19, 0, wxALIGN_CENTER|wxALL, 5 );
809 wxButton *item20 =
new wxButton( parent,
ID_EDIT_PORT, wxT(
"Edit..."), wxDefaultPosition, wxDefaultSize, 0 );
810 item18->Add( item20, 0, wxALIGN_CENTER|wxALL, 5 );
812 wxButton *item21 =
new wxButton( parent,
ID_DELETE_PORT, wxT(
"Delete"), wxDefaultPosition, wxDefaultSize, 0 );
813 item18->Add( item21, 0, wxALIGN_CENTER|wxALL, 5 );
815 item15->Add( item18, 0, wxALIGN_CENTER|wxALL, 5 );
817 item0->Add( item15, 0, wxGROW|wxALL, 5 );
819 wxBoxSizer *item25 =
new wxBoxSizer( wxHORIZONTAL );
821 wxButton *item26 =
new wxButton( parent,
ID_HELP, wxT(
"&Help"), wxDefaultPosition, wxDefaultSize, 0 );
822 item25->Add( item26, 0, wxALIGN_CENTER|wxALL, 5 );
824 item0->Add( item25, 0, wxALL, 5 );
826 wxBoxSizer *item27 =
new wxBoxSizer( wxHORIZONTAL );
828 wxButton *item28 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
829 item27->Add( item28, 0, wxALIGN_CENTER|wxALL, 5 );
831 wxButton *item29 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
832 item27->Add( item29, 0, wxALIGN_CENTER|wxALL, 5 );
834 item0->Add( item27, 0, wxALL, 5 );
838 parent->SetSizer( item0 );
840 item0->SetSizeHints( parent );