12DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( 800,-1 ), wxDefaultSize );
19 wxFlexGridSizer* fgSizer3;
20 fgSizer3 =
new wxFlexGridSizer( 3, 1, 0, 0 );
21 fgSizer3->AddGrowableCol( 0 );
22 fgSizer3->AddGrowableRow( 0 );
23 fgSizer3->SetFlexibleDirection( wxBOTH );
24 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
26 fgSizer3->SetMinSize( wxSize( 800,300 ) );
27 m_sheetsGrid =
new wxGrid(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
43 m_sheetsGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
49 m_sheetsGrid->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
54 m_sheetsGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
58 bSizer13 =
new wxBoxSizer( wxVERTICAL );
60 m_cbReplaceExisting =
new wxCheckBox(
this, wxID_ANY,
_(
"Replace existing placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
63 m_cbGroupItems =
new wxCheckBox(
this, wxID_ANY,
_(
"Group components with their placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
67 fgSizer3->Add( bSizer13, 1, wxEXPAND, 5 );
69 wxBoxSizer* bottomButtonsSizer;
70 bottomButtonsSizer =
new wxBoxSizer( wxHORIZONTAL );
73 bottomButtonsSizer->Add( 10, 0, 0, 0, 5 );
85 fgSizer3->Add( bottomButtonsSizer, 0, wxEXPAND|wxLEFT, 5 );
wxBoxSizer * m_GeneralBoxSizer
wxStdDialogButtonSizer * m_sdbSizerStdButtons
wxCheckBox * m_cbGroupItems
wxButton * m_sdbSizerStdButtonsOK
wxButton * m_sdbSizerStdButtonsCancel
~DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE()
virtual void OnInitDlg(wxInitDialogEvent &event)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
wxCheckBox * m_cbReplaceExisting
DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generate Multichannel Rule Areas"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...