From: Vadim Zeitlin Date: Sun, 23 Sep 2001 22:04:05 +0000 (+0000) Subject: reverted change to the best checkbox size calculation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fb1a41cd75cb6c0b51811bef36b1025454851407?ds=inline reverted change to the best checkbox size calculation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index 86211b4fcd..28773bbb36 100644 --- 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());