class StaticWidgetsPage : public WidgetsPage
{
public:
- StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~StaticWidgetsPage();
+ StaticWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
+ virtual ~StaticWidgetsPage(){};
+
+ virtual wxControl *GetWidget() const { return m_statText; }
protected:
// event handlers
IMPLEMENT_WIDGETS_PAGE(StaticWidgetsPage, _T("Static"));
-StaticWidgetsPage::StaticWidgetsPage(wxNotebook *notebook,
- wxImageList *imaglist)
- : WidgetsPage(notebook)
+StaticWidgetsPage::StaticWidgetsPage(wxBookCtrl *book,
+ wxImageList *imaglist)
+ : WidgetsPage(book)
{
imaglist->Add(wxBitmap(statbox_xpm));
sizerTop->Fit(this);
}
-StaticWidgetsPage::~StaticWidgetsPage()
-{
-}
-
// ----------------------------------------------------------------------------
// operations
// ----------------------------------------------------------------------------