X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..f194560ed883138350643eb556f766814c409afc:/include/wx/generic/panelg.h

diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h
index b79a59e0f4..28852dd454 100644
--- a/include/wx/generic/panelg.h
+++ b/include/wx/generic/panelg.h
@@ -86,6 +86,10 @@ public:
     virtual bool ProvidesBackground() const { return TRUE; }
 #endif
 
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
+
+    
     WX_DECLARE_CONTROL_CONTAINER();
 
 protected: