]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/checkbox.h
DoPrepareDC needs the dc.
[wxWidgets.git] / include / wx / checkbox.h
index 6b30a0a25fa57aa88190f39501fd8fc7f7b880b0..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,6 +106,9 @@ public:
         return HasFlag(wxCHK_ALLOW_3RD_STATE_FOR_USER);
     }
 
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
+
 protected:
     virtual void DoSet3StateValue(wxCheckBoxState WXUNUSED(state)) { wxFAIL; }