X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84fb430b9782a3bd9e14953441d9858b7fb04633..11c084163e3702692586f70a9414dca97bb2a2d6:/src/motif/button.cpp diff --git a/src/motif/button.cpp b/src/motif/button.cpp index 709a1a9ffc..5272ec5984 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -75,8 +75,6 @@ bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, XmNactivateCallback, (XtCallbackProc) wxButtonCallback, (XtPointer) this); - SetCanAddEventHandler(TRUE); - wxSize best = GetBestSize(); if( size.x != -1 ) best.x = size.x; if( size.y != -1 ) best.y = size.y;