]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/checkbox.h
Fixed size problem due to wxMac window implementation difference
[wxWidgets.git] / include / wx / checkbox.h
index bb97f9d5ca1bef70fa9db3f7a0ebfc82aa807a72..6d3ec75c4d82d3cbdf98b9b189bf27090d830a14 100644 (file)
@@ -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; }