]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/toolbar.mm
Removed useless pragma after fixing code to use insigned ints.
[wxWidgets.git] / src / cocoa / toolbar.mm
index 30f61996fdff22b38d4408ab876a1ca1936f6913..bf0d2a4d5a3d370d1e44989b5b5a75c0bf094399 100644 (file)
@@ -221,6 +221,11 @@ bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolBase)
     return true;
 }
 
+bool wxToolBar::Cocoa_acceptsFirstMouse(bool &acceptsFirstMouse, WX_NSEvent theEvent)
+{
+    acceptsFirstMouse = true; return true;
+}
+
 bool wxToolBar::Cocoa_drawRect(const NSRect &rect)
 {
     wxToolBarToolsList::compatibility_iterator node;