]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/mdi.cpp
Applied patch [ 736321 ] Compile error for src/msw/textctrl.cpp
[wxWidgets.git] / src / motif / mdi.cpp
index daf09e25820feecc626fe448a3c9df0ef3d00f02..c4ad44a11ae69a328b4379b3bf35ba5960fd2b87 100644 (file)
@@ -391,7 +391,6 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
     XtAddEventHandler((Widget) m_mainWidget, ExposureMask,FALSE,
         wxUniversalRepaintProc, (XtPointer) this);
 
-    SetCanAddEventHandler(TRUE);
     AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
 
     ChangeBackgroundColour();