- // get the currently selected page
- virtual int GetSelection() const = 0;
-
- // set/get the title of a page
- virtual bool SetPageText(int nPage, const wxString& strText) = 0;
- virtual wxString GetPageText(int nPage) const = 0;
-
- // image list stuff: each page may have an image associated with it (all
- // images belong to the same image list)
- virtual void SetImageList(wxImageList* imageList);
-
- // as SetImageList() but we will delete the image list ourselves
- void AssignImageList(wxImageList* imageList);
-
- // get pointer (may be NULL) to the associated image list
- wxImageList* GetImageList() const { return m_imageList; }
-
- // sets/returns item's image index in the current image list
- virtual int GetPageImage(int nPage) const = 0;
- virtual bool SetPageImage(int nPage, int nImage) = 0;
+ // wxNotebook-specific additions to wxBookCtrlBase interface
+ // ---------------------------------------------------------