class StaticWidgetsPage : public WidgetsPage
{
public:
- StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
+ StaticWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
virtual ~StaticWidgetsPage(){};
+ virtual wxControl *GetWidget() const { return m_statText; }
+
protected:
// event handlers
void OnCheckOrRadioBox(wxCommandEvent& event);
IMPLEMENT_WIDGETS_PAGE(StaticWidgetsPage, _T("Static"));
-StaticWidgetsPage::StaticWidgetsPage(wxNotebook *notebook,
- wxImageList *imaglist)
- : WidgetsPage(notebook)
+StaticWidgetsPage::StaticWidgetsPage(wxBookCtrlBase *book,
+ wxImageList *imaglist)
+ : WidgetsPage(book)
{
imaglist->Add(wxBitmap(statbox_xpm));