projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load wsock32.dll dynamically, so that wxCore has no dependency on it
[wxWidgets.git]
/
src
/
motif
/
mdi.cpp
diff --git
a/src/motif/mdi.cpp
b/src/motif/mdi.cpp
index daf09e25820feecc626fe448a3c9df0ef3d00f02..87a201a0e2afc6582dcb17c0009a7b8e102dc53d 100644
(file)
--- a/
src/motif/mdi.cpp
+++ b/
src/motif/mdi.cpp
@@
-9,7
+9,7
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "mdi.h"
#endif
#pragma implementation "mdi.h"
#endif
@@
-391,7
+391,6
@@
bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
XtAddEventHandler((Widget) m_mainWidget, ExposureMask,FALSE,
wxUniversalRepaintProc, (XtPointer) this);
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();
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
ChangeBackgroundColour();