- SpinBtnWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~SpinBtnWidgetsPage();
+ SpinBtnWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
+ virtual ~SpinBtnWidgetsPage(){};
+
+ virtual wxControl *GetWidget() const { return m_spinbtn; }
+ virtual wxControl *GetWidget2() const { return m_spinctrl; }
+ virtual void RecreateWidget() { CreateSpin(); }
+
+ // lazy creation of the content
+ virtual void CreateContent();