X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..384b8d9f3d9e239d5e639e406c4703a9ccbf8ad6:/src/osx/statbox_osx.cpp?ds=sidebyside diff --git a/src/osx/statbox_osx.cpp b/src/osx/statbox_osx.cpp index 2db314f9fc..0d9c91c629 100644 --- a/src/osx/statbox_osx.cpp +++ b/src/osx/statbox_osx.cpp @@ -23,9 +23,9 @@ bool wxStaticBox::Create( wxWindow *parent, const wxSize& size, long style, const wxString& name ) -{ - m_macIsUserPane = false; - +{ + DontCreatePeer(); + if ( !wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name ) ) return false;