X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..df16a53ef9ae506c51023178e4fe45ce45e69447:/src/msw/checkbox.cpp 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());