]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
improved const-ness of find/Find functions
[wxWidgets.git] / include / wx / generic / panelg.h
index 9fbe9ceb26936c304a0f02a619697cf24bb3bd2d..28852dd454c0bacfa86bfcaf1a214bc8fea3363c 100644 (file)
@@ -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();