X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/083f7497d34a1df453b92ab411aace3fc4ace927..5c5428f9132822d5d39b02c46dd89464adff9f1f:/include/wx/notebook.h diff --git a/include/wx/notebook.h b/include/wx/notebook.h index 8c18691b7c..54ad1df040 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -107,7 +107,7 @@ public: virtual void SetTabSize(const wxSize& sz) = 0; // calculate the size of the notebook from the size of its page - virtual wxSize CalcSizeFromPage(const wxSize& sizePage); + virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const; // operations // ---------- @@ -155,6 +155,8 @@ public: protected: // remove the page and return a pointer to it virtual wxNotebookPage *DoRemovePage(int page); + // return the minimum size large enough to display the largest page entirely + virtual wxSize DoGetBestSize() const; // common part of all ctors void Init();