projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backed out a fix which seems to cause more trouble than it's doing good. :-(
[wxWidgets.git]
/
src
/
motif
/
statbox.cpp
diff --git
a/src/motif/statbox.cpp
b/src/motif/statbox.cpp
index f836c53de3cb4a8327155d580aa9f6fb50afce5e..fe2c52163cdb7f6617add66aeb9cb30de84b23c6 100644
(file)
--- a/
src/motif/statbox.cpp
+++ b/
src/motif/statbox.cpp
@@
-9,10
+9,13
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "statbox.h"
#endif
#pragma implementation "statbox.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#ifdef __VMS
#define XtDisplay XTDISPLAY
#endif
#ifdef __VMS
#define XtDisplay XTDISPLAY
#endif
@@
-121,11
+124,10
@@
bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
NULL);
}
NULL);
}
- SetCanAddEventHandler(TRUE);
AttachWidget (parent, m_mainWidget, NULL, pos.x, pos.y, size.x, size.y);
ChangeBackgroundColour();
AttachWidget (parent, m_mainWidget, NULL, pos.x, pos.y, size.x, size.y);
ChangeBackgroundColour();
- return
TRUE
;
+ return
true
;
}
wxStaticBox::~wxStaticBox()
}
wxStaticBox::~wxStaticBox()