]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/button.cpp
adde wxSTC bakefile
[wxWidgets.git] / src / motif / button.cpp
index 709a1a9ffcf1f0b416f39c9032da6df03e448f60..5272ec5984fb8fbff4511bf42c92bdca15bd2785 100644 (file)
@@ -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;