]> git.saurik.com Git - wxWidgets.git/commitdiff
Add wxBK_HITTEST flags
authorRobin Dunn <robin@alldunn.com>
Wed, 5 Jul 2006 18:44:44 +0000 (18:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 5 Jul 2006 18:44:44 +0000 (18:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_notebook.i

index dff56eeefa8ce1dd1d5baedb087f51a789f7edbd..395720b69fd15407678fbf58d4a9609828ec0437 100644 (file)
@@ -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,
 };