12DIALOG_BOOK_REPORTER_BASE::DIALOG_BOOK_REPORTER_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( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bMainSizer;
17 bMainSizer =
new wxBoxSizer( wxVERTICAL );
19 m_notebook =
new wxNotebook(
this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), 0 );
23 bMainSizer->Add(
m_notebook, 1, wxEXPAND|wxALL, 10 );
30 bMainSizer->Add(
m_sdbSizer, 0, wxEXPAND|wxALL, 5 );
33 this->SetSizer( bMainSizer );
35 bMainSizer->Fit(
this );
37 this->Centre( wxBOTH );
virtual void OnClose(wxCloseEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
~DIALOG_BOOK_REPORTER_BASE()
DIALOG_BOOK_REPORTER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...