X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/cocoa/bmpbuttn.mm?ds=sidebyside diff --git a/src/cocoa/bmpbuttn.mm b/src/cocoa/bmpbuttn.mm index 4c12d488ca..99e9cbd4b7 100644 --- a/src/cocoa/bmpbuttn.mm +++ b/src/cocoa/bmpbuttn.mm @@ -4,7 +4,6 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -24,7 +23,6 @@ #import #import -IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxControl) BEGIN_EVENT_TABLE(wxBitmapButton, wxBitmapButtonBase) END_EVENT_TABLE() WX_IMPLEMENT_COCOA_OWNER(wxBitmapButton,NSButton,NSControl,NSView) @@ -64,7 +62,7 @@ wxBitmapButton::~wxBitmapButton() void wxBitmapButton::Cocoa_wxNSButtonAction(void) { wxLogTrace(wxTRACE_COCOA,wxT("YAY!")); - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); + wxCommandEvent event(wxEVT_BUTTON, GetId()); InitCommandEvent(event); // event.SetEventObject(this); Command(event); }