X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d58c3ba28436561baeecfa5c6afb7ae1d772ff37..feffc1b546b896b64b24def29d03e1d404f92a70:/wxPython/src/_notebook.i diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index 395720b69f..e654aa9ffa 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -28,7 +28,14 @@ enum { wxBK_LEFT, wxBK_RIGHT, wxBK_ALIGN_MASK, - wxBK_BUTTONBAR + wxBK_BUTTONBAR, + + // hittest flags + wxBK_HITTEST_NOWHERE = 1, // not on tab + wxBK_HITTEST_ONICON = 2, // on icon + wxBK_HITTEST_ONLABEL = 4, // on label + wxBK_HITTEST_ONITEM = wxBK_HITTEST_ONICON | wxBK_HITTEST_ONLABEL, + wxBK_HITTEST_ONPAGE = 8, // not on tab control, but over the selected page }; @@ -192,13 +199,6 @@ enum { wxNB_MULTILINE, wxNB_NOPAGETHEME, - // hittest flags - wxBK_HITTEST_NOWHERE = 1, // not on tab - wxBK_HITTEST_ONICON = 2, // on icon - wxBK_HITTEST_ONLABEL = 4, // on label - wxBK_HITTEST_ONITEM = wxBK_HITTEST_ONICON | wxBK_HITTEST_ONLABEL, - wxBK_HITTEST_ONPAGE = 8, // not on tab control, but over the selected page - // for backwards compatibility only wxNB_HITTEST_NOWHERE, wxNB_HITTEST_ONICON, @@ -529,7 +529,7 @@ public: int GetPageParent(size_t pos) const; // the tree control we use for showing the pages index tree - wxTreeCtrl* GetTreeCtrl() const; + wxPyTreeCtrl* GetTreeCtrl() const; };