]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statbox.h
BC++ 5.5 and later supports wxUSE_ON_FATAL_EXCEPTION
[wxWidgets.git] / include / wx / statbox.h
index 4d409ab3737b9e821e9c0f0b72a8cd2b574347db..d5661e10fc5b62b1f1e7637e2b769c3d0a49ffec 100644 (file)
@@ -18,7 +18,8 @@ public:
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return false; }
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return false; }
-    virtual bool CanApplyParentThemeBackground() const { return true; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
 
 private:
     DECLARE_NO_COPY_CLASS(wxStaticBoxBase)