X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..0a7b481fee70afb6736a9a19edcadbc679bdfb2f:/include/wx/statbox.h diff --git a/include/wx/statbox.h b/include/wx/statbox.h index 4d409ab373..d5661e10fc 100644 --- a/include/wx/statbox.h +++ b/include/wx/statbox.h @@ -18,7 +18,8 @@ public: // 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)