X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/455f7c8205e5dc29d99026b158ae0a394dccc839..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/motif/statbox.cpp diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 6fdcb4c5d2..2ea22aee4d 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -29,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() @@ -117,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);