X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..5f6cfda79ff6d1ddc0b1b88c0ba9a69c4dd1f3f3:/include/wx/generic/panelg.h diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 9fbe9ceb26..28852dd454 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -86,7 +86,9 @@ public: virtual bool ProvidesBackground() const { return TRUE; } #endif - virtual bool CanApplyParentThemeBackground() const { return true; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + WX_DECLARE_CONTROL_CONTAINER();