]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
use wxUniv's setup
[wxWidgets.git] / src / msw / checkbox.cpp
index 28773bbb3634dcc219462a54832187dc909c6343..8a5c375e22bf53271e81a0ce3ffa2fedd0201d8c 100644 (file)
@@ -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();
     }