X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84fb430b9782a3bd9e14953441d9858b7fb04633..0e4cfcdd7729457d2fb5922ace5c091576c2ca6b:/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;