]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statbox.h
Window management and sizer layout corrections
[wxWidgets.git] / include / wx / univ / statbox.h
index 87913032c81b408ec62d26f089519811ac506f6c..382f2a9eb6410c5c38496819f305967408e4d939 100644 (file)
@@ -58,6 +58,10 @@ protected:
     // get the size of the border
     wxRect GetBorderGeometry() const;
 
+    // returning TRUE from here ensures that we act as a container window for
+    // our children
+    virtual bool IsStaticBox() const { return TRUE; }
+
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };