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