virtual wxString GetPageText(size_t n) const;
virtual int GetPageImage(size_t n) const;
virtual bool SetPageImage(size_t n, int imageId);
- virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
virtual bool InsertPage(size_t n,
wxWindow *page,
const wxString& text,
virtual wxWindow *DoRemovePage(size_t page);
- // get the size which the choice control should have
- virtual wxSize GetControllerSize() const;
-
void UpdateSelectedPage(size_t newsel)
{
m_selection = static_cast<int>(newsel);
- GetChoiceCtrl()->Select(newsel);
+ GetChoiceCtrl()->Select(m_selection);
}
wxBookCtrlEvent* CreatePageChangingEvent() const;