Index: views/controls/button/checkbox.cc |
=================================================================== |
--- views/controls/button/checkbox.cc (revision 90205) |
+++ views/controls/button/checkbox.cc (working copy) |
@@ -300,8 +300,10 @@ |
void Checkbox::GetExtraParams(gfx::NativeTheme::ExtraParams* params) const { |
TextButtonBase::GetExtraParams(params); |
- params->button.is_default = false; |
params->button.checked = checked_; |
+#if defined(OS_WIN) |
+ params->button.classic_state |= checked_ ? DFCS_CHECKED: 0; |
Ben Goodger (Google)
2011/06/23 17:31:34
Can't this be added automatically by the NativeThe
Roger Tawa OOO till Jul 10th
2011/06/23 19:22:11
You are correct, it can.
|
+#endif |
} |
gfx::Rect Checkbox::GetTextBounds() const { |