X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..f3f0d961af5454a3544a4f4f9aced750d4641d69:/src/mac/statbox.cpp?ds=sidebyside diff --git a/src/mac/statbox.cpp b/src/mac/statbox.cpp index e494e9e709..13c7daf669 100644 --- a/src/mac/statbox.cpp +++ b/src/mac/statbox.cpp @@ -38,6 +38,10 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, long style, const wxString& name) { + if ( !wxControl::Create(parent, id, pos, size, + style, wxDefaultValidator, name) ) + return false; + Rect bounds ; Str255 title ;