X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb1a41cd75cb6c0b51811bef36b1025454851407..cb7acf9cc78c309026bed1038631f2663cd90bda:/src/msw/checkbox.cpp?ds=sidebyside diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index 28773bbb36..8a5c375e22 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -159,7 +159,7 @@ wxSize wxCheckBox::DoGetBestSize() const if ( !s_checkSize ) { wxScreenDC dc; - dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT)); + dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); s_checkSize = dc.GetCharHeight(); }