]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statbox.h
Fixed compilation error
[wxWidgets.git] / include / wx / statbox.h
index c0a5ed5da3900cb5bc46067ceb05b5b7906936c5..d5661e10fc5b62b1f1e7637e2b769c3d0a49ffec 100644 (file)
@@ -17,7 +17,9 @@ public:
     wxStaticBoxBase() { }
 
     // overriden base class virtuals
-    virtual bool AcceptsFocus() const { return FALSE; }
+    virtual bool AcceptsFocus() const { return false; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticBoxBase)