- // the same as AddPage(), but adds the page at the specified position
- virtual bool InsertPage(int nPage,
- wxNotebookPage *pPage,
- const wxString& strText,
- bool bSelect = FALSE,
- int imageId = -1) = 0;
-
- // set the currently selected page, return the index of the previously
- // selected one (or -1 on error)
- //
- // NB: this function will _not_ generate wxEVT_NOTEBOOK_PAGE_xxx events
- virtual int SetSelection(int nPage) = 0;
-
- // hit test, returns which tab is hit and, optionally, where (icon, label)
- // (not implemented on all platforms)
- virtual int HitTest(const wxPoint& WXUNUSED(pt),
- long * WXUNUSED(flags) = NULL) const
- {
- return wxNOT_FOUND;
- }
+ // implement some base class functions
+ virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;