]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/toolbar.mm
fix Borland bug http://news.gmane.org/find-root.php?message_id=%3c43A0B07F.8010204...
[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;