]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/notebook.mm
Add wxTimer::StartOnce().
[wxWidgets.git] / src / osx / cocoa / notebook.mm
index 973fcf5adeba289bc46e8d1dbb9d57581ebd3297..86820dc0eaf4c8effe7c36aacab8b09205e06d27 100644 (file)
@@ -272,10 +272,12 @@ public:
         NSTabViewItem* hitItem = [slf tabViewItemAtPoint:nspt];
         
         if (!hitItem) {
-            *flags = wxBK_HITTEST_NOWHERE;
+            if ( flags )
+                *flags = wxBK_HITTEST_NOWHERE;
         } else {
             retval = [slf indexOfTabViewItem:hitItem];
-            *flags = wxBK_HITTEST_ONLABEL;
+            if ( flags )
+                *flags = wxBK_HITTEST_ONLABEL;
         }
         
         return retval;