X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..1f30c17645c56f85178ee780fa330d954e45cea9:/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)