]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted change to the best checkbox size calculation
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2001 22:04:05 +0000 (22:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Sep 2001 22:04:05 +0000 (22:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/checkbox.cpp

index 86211b4fcd15873ab3b1e5f39ddd4a6248a6fa5a..28773bbb3634dcc219462a54832187dc909c6343 100644 (file)
@@ -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());