X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d8c3e58b88ecef633154776708fc90fba221b5c..222ed1d678dff2f5c3c4164321dd05e8f47de487:/include/wx/univ/notebook.h?ds=sidebyside diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 3e29d78106..a8f78f0bb0 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -78,7 +78,7 @@ public: virtual void SetPadding(const wxSize& padding); virtual void SetTabSize(const wxSize& sz); - virtual wxSize CalcSizeFromPage(const wxSize& sizePage); + virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const; virtual bool DeleteAllPages(); @@ -105,8 +105,7 @@ public: // hit testing // ----------- - // return the tab at this position or -1 if none - int HitTest(const wxPoint& pt) const; + virtual int HitTest(const wxPoint& pt, long *flags = NULL) const; // input handling // -------------- @@ -194,9 +193,6 @@ protected: // get our client size from the page size wxSize GetSizeForPage(const wxSize& size) const; - // change thep age and send events about it (can be vetoed by user code) - void ChangePage(int nPage); - // scroll the tabs so that the first page shown becomes the given one void ScrollTo(int page);