From d58c3ba28436561baeecfa5c6afb7ae1d772ff37 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 5 Jul 2006 18:44:44 +0000 Subject: [PATCH] Add wxBK_HITTEST flags git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_notebook.i | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index dff56eeefa..395720b69f 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -193,11 +193,18 @@ enum { wxNB_NOPAGETHEME, // hittest flags - wxNB_HITTEST_NOWHERE = 1, // not on tab - wxNB_HITTEST_ONICON = 2, // on icon - wxNB_HITTEST_ONLABEL = 4, // on label - wxNB_HITTEST_ONITEM = wxNB_HITTEST_ONICON | wxNB_HITTEST_ONLABEL, - wxNB_HITTEST_ONPAGE = 8 + 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, + wxNB_HITTEST_ONLABEL, + wxNB_HITTEST_ONITEM, + wxNB_HITTEST_ONPAGE, }; -- 2.45.2