#include "wx/bitmap.h"
#include "wx/button.h"
#include "wx/checkbox.h"
+ #include "wx/radiobox.h"
+ #include "wx/statbox.h"
+ #include "wx/textctrl.h"
#include "wx/sizer.h"
#endif
class CheckBoxWidgetsPage : public WidgetsPage
{
public:
- CheckBoxWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
- virtual ~CheckBoxWidgetsPage();
+ CheckBoxWidgetsPage(wxBookCtrl *book, wxImageList *imaglist);
+ virtual ~CheckBoxWidgetsPage(){};
+
+ virtual wxControl *GetWidget() const { return m_checkbox; }
protected:
// event handlers
IMPLEMENT_WIDGETS_PAGE(CheckBoxWidgetsPage, wxT("CheckBox"));
-CheckBoxWidgetsPage::CheckBoxWidgetsPage(wxNotebook *notebook,
- wxImageList *imaglist)
- : WidgetsPage(notebook)
+CheckBoxWidgetsPage::CheckBoxWidgetsPage(wxBookCtrl *book,
+ wxImageList *imaglist)
+ : WidgetsPage(book)
{
imaglist->Add(wxBitmap(checkbox_xpm));
sizerTop->Fit(this);
}
-CheckBoxWidgetsPage::~CheckBoxWidgetsPage()
-{
-}
-
void CheckBoxWidgetsPage::Reset()
{
m_chkRight->SetValue(false);