X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/455f7c8205e5dc29d99026b158ae0a394dccc839..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/motif/button.cpp diff --git a/src/motif/button.cpp b/src/motif/button.cpp index 7b85a01c74..5349b75337 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -34,8 +33,6 @@ void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr); -IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl) - #define MIN_WIDTH 78 #define MIN_LARGE_HEIGHT 30 @@ -244,7 +241,7 @@ void wxButtonCallback (Widget w, XtPointer clientData, XtPointer WXUNUSED(ptr)) return; wxButton *item = (wxButton *) clientData; - wxCommandEvent event (wxEVT_COMMAND_BUTTON_CLICKED, item->GetId()); + wxCommandEvent event (wxEVT_BUTTON, item->GetId()); event.SetEventObject(item); item->ProcessCommand (event); }