12DIALOG_GENERATORS_BASE::DIALOG_GENERATORS_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( -1,-1 ), wxDefaultSize );
16 wxBoxSizer* m_MainSizer;
17 m_MainSizer =
new wxBoxSizer( wxVERTICAL );
20 bSizer13 =
new wxBoxSizer( wxVERTICAL );
26 wxBoxSizer* bSizerPage1;
27 bSizerPage1 =
new wxBoxSizer( wxVERTICAL );
29 bSizerPage1->SetMinSize( wxSize( -1,320 ) );
31 m_dataview1->SetToolTip(
_(
"Click on items to highlight them on the board.") );
33 bSizerPage1->Add(
m_dataview1, 1, wxEXPAND|wxALL, 5 );
36 bSizerPage1->Add( 0, 8, 0, wxEXPAND, 5 );
47 m_MainSizer->Add( bSizer13, 1, wxEXPAND, 5 );
51 m_rebuildSelected =
new wxButton(
this, wxID_ANY,
_(
"Rebuild selected"), wxDefaultPosition, wxDefaultSize, 0 );
54 m_rebuildThisType =
new wxButton(
this, wxID_ANY,
_(
"Rebuild this type"), wxDefaultPosition, wxDefaultSize, 0 );
62 m_rebuildAll =
new wxButton(
this, wxID_ANY,
_(
"Rebuild All"), wxDefaultPosition, wxDefaultSize, 0 );
76 this->SetSizer( m_MainSizer );
78 m_MainSizer->Fit(
this );
DIALOG_GENERATORS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator Objects"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnActivateDlg(wxActivateEvent &event)
wxBoxSizer * m_sizerButtons
virtual void OnRebuildAllClick(wxCommandEvent &event)
wxButton * m_sdbSizerCancel
virtual void OnRebuildTypeClick(wxCommandEvent &event)
wxButton * m_rebuildThisType
wxDataViewCtrl * m_dataview1
~DIALOG_GENERATORS_BASE()
virtual void OnClose(wxCloseEvent &event)
wxButton * m_rebuildSelected
virtual void OnChangingNotebookPage(wxNotebookEvent &event)
virtual void OnRebuildSelectedClick(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...