projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented Freeze/Thaw() for the generic listctrl
[wxWidgets.git]
/
src
/
msw
/
checkbox.cpp
diff --git
a/src/msw/checkbox.cpp
b/src/msw/checkbox.cpp
index 86211b4fcd15873ab3b1e5f39ddd4a6248a6fa5a..28773bbb3634dcc219462a54832187dc909c6343 100644
(file)
--- a/
src/msw/checkbox.cpp
+++ b/
src/msw/checkbox.cpp
@@
-161,7
+161,7
@@
wxSize wxCheckBox::DoGetBestSize() const
wxScreenDC dc;
dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
- s_checkSize =
(3*dc.GetCharHeight())/2
;
+ s_checkSize =
dc.GetCharHeight()
;
}
wxString str = wxGetWindowText(GetHWND());