X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..60372b0d54379701d62edf5595a7dc25c48330e1:/src/osx/statbox_osx.cpp?ds=inline 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;