projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SOCKLEN_T handling for OSX - it seems to be defined as a size_t, when the parameters...
[wxWidgets.git]
/
src
/
motif
/
statbox.cpp
diff --git
a/src/motif/statbox.cpp
b/src/motif/statbox.cpp
index f836c53de3cb4a8327155d580aa9f6fb50afce5e..5bdf05ea044c030b20a8b57269100130db3029ca 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,7
+124,6
@@
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();