]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statbox.h
Added back the missing Undo/Redo accelerators that unaccountably
[wxWidgets.git] / include / wx / univ / statbox.h
index cd43d75f36407e651f4e42b3f9cd80e84627be5a..382f2a9eb6410c5c38496819f305967408e4d939 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_UNIV_STATBOX_H_
 
 #ifdef __GNUG__
-    #pragma interface "statbox.h"
+    #pragma interface "univstatbox.h"
 #endif
 
 class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
@@ -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)
 };