From: Stefan Csomor Date: Thu, 10 Nov 2005 09:17:14 +0000 (+0000) Subject: adding hit testing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d0e7c7e589577229d99936397974a7ce571e1b44 adding hit testing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/notebook.h b/include/wx/mac/carbon/notebook.h index 393de929f8..ae67da07cf 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 ;