- StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~StaticWidgetsPage();
+ StaticWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
+ virtual ~StaticWidgetsPage(){};
+
+ virtual wxControl *GetWidget() const { return m_statText; }
wxStaticBox *m_staticBox;
wxStaticBoxSizer *m_sizerStatBox;
wxStaticText *m_statText;
wxStaticBox *m_staticBox;
wxStaticBoxSizer *m_sizerStatBox;
wxStaticText *m_statText;
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------
m_statLine = new wxStaticLine(this, wxID_ANY,
wxDefaultPosition, wxDefaultSize,
isVert ? wxLI_VERTICAL : wxLI_HORIZONTAL);
m_statLine = new wxStaticLine(this, wxID_ANY,
wxDefaultPosition, wxDefaultSize,
isVert ? wxLI_VERTICAL : wxLI_HORIZONTAL);
m_sizerStatBox->Add(m_statText, 1, wxGROW | wxALL, 5);
m_sizerStatBox->Add(m_statText, 1, wxGROW | wxALL, 5);
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxALL, 5);
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxALL, 5);
m_sizerStatBox->Add(0, 0, 1);
m_sizerStatic->Add(m_sizerStatBox, 1, wxGROW);
m_sizerStatBox->Add(0, 0, 1);
m_sizerStatic->Add(m_sizerStatBox, 1, wxGROW);