]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/checkbox.h
Massive reworking of wxMediaCtrl code - backend everything, search for backends via...
[wxWidgets.git] / include / wx / checkbox.h
index bb97f9d5ca1bef70fa9db3f7a0ebfc82aa807a72..dc333f37e8dc44df95ee5a710fbc161ad1bf7ec2 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     07.09.00
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows team
+// Copyright:   (c) wxWidgets team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -106,7 +106,8 @@ public:
         return HasFlag(wxCHK_ALLOW_3RD_STATE_FOR_USER);
     }
 
-    virtual bool CanApplyParentThemeBackground() const { return true; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
 
 protected:
     virtual void DoSet3StateValue(wxCheckBoxState WXUNUSED(state)) { wxFAIL; }