]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/statbox.cpp
compilation fix
[wxWidgets.git] / src / mac / statbox.cpp
index e494e9e709d3bfec985ac4488bdd6ca7c03c880a..13c7daf6696a6d4b7d0132fdc283538f92e5e504 100644 (file)
@@ -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 ;