]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statbox.h
Lots of updates for color dialog and sliders
[wxWidgets.git] / include / wx / univ / statbox.h
index 87913032c81b408ec62d26f089519811ac506f6c..646bd119029a53238156068cab94539e7c1617b5 100644 (file)
@@ -51,6 +51,8 @@ public:
     // take account of this
     virtual wxPoint GetBoxAreaOrigin() const;
 
     // take account of this
     virtual wxPoint GetBoxAreaOrigin() const;
 
+    virtual bool HasTransparentBackground() { return TRUE; }
+    
 protected:
     // draw the control
     virtual void DoDraw(wxControlRenderer *renderer);
 protected:
     // draw the control
     virtual void DoDraw(wxControlRenderer *renderer);
@@ -58,6 +60,10 @@ protected:
     // get the size of the border
     wxRect GetBorderGeometry() const;
 
     // 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)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };