X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..9823d1c5d1e46420d29cb4d05d8ea66308c10663:/src/motif/statbox.cpp diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 22deeec8c9..2ea22aee4d 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -12,10 +12,6 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#ifdef __VMS -#define XtDisplay XTDISPLAY -#endif - #include "wx/statbox.h" #ifndef WX_PRECOMP @@ -33,8 +29,6 @@ #include "wx/motif/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) - BEGIN_EVENT_TABLE(wxStaticBox, wxControl) //EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground) END_EVENT_TABLE() @@ -121,7 +115,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, #endif NULL); } - + PostCreation(); AttachWidget (parent, m_mainWidget, NULL, pos.x, pos.y, size.x, size.y);