X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a0dc614e3011fd0e88fb3c57a1f6d107596cfc..f31bbefd1070af6162b9deeda9d4e528efbc1b31:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index a5314ce4df..783d1315fa 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -90,13 +90,11 @@ bool wxStaticBox::Create( wxWindow *parent, long style, const wxString& name ) { - m_needParent = TRUE; - if (!PreCreation( parent, pos, size ) || !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name )) { wxFAIL_MSG( wxT("wxStaticBox creation failed") ); - return FALSE; + return false; } m_widget = GTKCreateFrame(label);