X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aabc8da32849c251b0ec87e339ef4485f35ebea..577579933d98787229fd5a197cd9bdc8798c9bc4:/wxPython/src/_notebook.i?ds=inline diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index 8f2e0b4846..26b9486eed 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -100,15 +100,15 @@ public: // get/set size of area between book control area and page area - unsigned int GetInternalBorder() const; - void SetInternalBorder(unsigned int internalBorder); + size_t GetInternalBorder() const; + void SetInternalBorder(size_t internalBorder); // returns true if we have wxCHB_TOP or wxCHB_BOTTOM style bool IsVertical() const; // set/get option to shrink to fit current page - void SetShrinkMode(bool shrink); - bool GetShrinkMode() const; + void SetFitToCurrentPage(bool fit); + bool GetFitToCurrentPage() const; // remove one page from the control and delete it @@ -473,12 +473,11 @@ public: int imageId = wxNOT_FOUND); // Inserts a new sub-page to the end of children of the page at given pos. - %Rename(InsertSubPage, - virtual bool, AddSubPage(size_t pos, - wxWindow *page, - const wxString& text, - bool select = false, - int imageId = wxNOT_FOUND)); + virtual bool InsertSubPage(size_t pos, + wxWindow *page, + const wxString& text, + bool select = false, + int imageId = wxNOT_FOUND); // Adds a new page at top level after all other pages. virtual bool AddPage(wxWindow *page,