]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
don't create non-existing groups in HasEntry()
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index 3764fd37cecbf256f87093945c3c7b14202e7df7..414bc978f95366947ab30371d039c703e670ad7e 100644 (file)
@@ -376,9 +376,9 @@ int wxNotebook::HitTest(const wxPoint& pt, long * flags) const
 
         // we cannot differentiate better
         if (resultV >= 0)
-            *flags |= wxNB_HITTEST_ONLABEL;
+            *flags |= wxBK_HITTEST_ONLABEL;
         else
-            *flags |= wxNB_HITTEST_NOWHERE;
+            *flags |= wxBK_HITTEST_NOWHERE;
     }
 
     return resultV;