X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27a1fd58803acbcb8b0d25d0e344c9efbab6e47d..991d57f8443fc8a31c2ad3e3a8180af08a6394d6:/include/wx/mac/carbon/notebook.h?ds=inline diff --git a/include/wx/mac/carbon/notebook.h b/include/wx/mac/carbon/notebook.h index 393de929f8..234fbf2aba 100644 --- a/include/wx/mac/carbon/notebook.h +++ b/include/wx/mac/carbon/notebook.h @@ -77,7 +77,10 @@ public: // sets the size of the tabs (assumes all tabs are the same size) virtual void SetTabSize(const wxSize& sz); - // calculate size for wxNotebookSizer + // hit test + virtual int HitTest(const wxPoint& pt, long *flags = NULL) const; + + // calculate size for wxNotebookSizer wxSize CalcSizeFromPage(const wxSize& sizePage) const; wxRect GetPageRect() const ; @@ -111,9 +114,10 @@ public: // base class virtuals // ------------------- virtual void Command(wxCommandEvent& event); + virtual wxInt32 MacControlHit(WXEVENTHANDLERREF handler, WXEVENTREF event); + protected: virtual wxNotebookPage *DoRemovePage(size_t page) ; - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; // common part of all ctors void Init();