X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..8a094d7ba9913333b49f8561d97b8309d0023663:/src/mac/statbox.cpp 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 ;