X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07d02e9ee0fe990aeb81e152a668d0011659b5c7..4521f6c88cbefa7f13e3733d344776b795f981e4:/src/cocoa/toolbar.mm?ds=sidebyside diff --git a/src/cocoa/toolbar.mm b/src/cocoa/toolbar.mm index 7d923ed9c2..79f5c02473 100644 --- a/src/cocoa/toolbar.mm +++ b/src/cocoa/toolbar.mm @@ -4,9 +4,8 @@ // Author: David Elliott // Modified by: // Created: 2003/08/17 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -100,7 +99,7 @@ void wxToolBarTool::Init() void wxToolBar::CocoaToolClickEnded() { wxASSERT(m_mouseDownTool); - wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, m_mouseDownTool->GetId()); + wxCommandEvent event(wxEVT_MENU, m_mouseDownTool->GetId()); InitCommandEvent(event); Command(event); }