class StaticWidgetsPage : public WidgetsPage
{
public:
- StaticWidgetsPage(wxNotebook *notebook, wxImageList *imaglist);
+ StaticWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
virtual ~StaticWidgetsPage(){};
virtual wxControl *GetWidget() const { return m_statText; }
+ virtual void RecreateWidget() { CreateStatic(); }
protected:
// event handlers
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));
}
int flagsBox = 0,
- flagsText = 0;
+ flagsText = ms_defaultFlags;
if ( !m_chkAutoResize->GetValue() )
{