+ // set the size of the tabs for wxNB_FIXEDWIDTH controls
+ void SetTabSize(const wxSize& sz);
+
+ // calculate the size of the notebook from the size of its page
+ wxSize CalcSizeFromPage(const wxSize& sizePage) const;
+
+
+ // remove one page from the notebook and delete it
+ bool DeletePage(int page);
+
+ // remove one page from the notebook, without deleting it
+ bool RemovePage(int page);
+
+ // remove all pages and delete them
+ bool DeleteAllPages();
+
+ // adds a new page to the notebook (it will be deleted by the notebook,
+ // don't delete it yourself) and make it the current one if select
+ bool AddPage(wxWindow *page,
+ const wxString& text,
+ bool telect = FALSE,
+ int imageId = -1);
+
+ // the same as AddPage(), but adds the page at the specified position
+ bool InsertPage(int index,
+ wxWindow *page,
+ const wxString& text,
+ bool select = FALSE,
+ int imageId = -1);
+
+ // 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
+ int SetSelection(int page);
+
+ // hit test, returns which tab is hit and, optionally, where (icon, label)
+ // (not implemented on all platforms)
+ int HitTest(const wxPoint& pt, long* OUTPUT);
+
+ // cycle thru the tabs
+ void AdvanceSelection(bool forward = TRUE);