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