X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c81dc3db6b242e6c47782ff205230c3e22060e95..5e08131542dd06b284465d5325b9479b960d080e:/src/cocoa/toolbar.mm?ds=sidebyside diff --git a/src/cocoa/toolbar.mm b/src/cocoa/toolbar.mm index 30f61996fd..bf0d2a4d5a 100644 --- a/src/cocoa/toolbar.mm +++ b/src/cocoa/toolbar.mm @@ -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;