]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/button.cpp
OS/2 Statusbar fixes in DC
[wxWidgets.git] / src / os2 / button.cpp
index f77b45338a8629c5d0e1b2eb77fb3891ee2445b8..b4ce9ac0d51364139558929f07506bd572244dda 100644 (file)
@@ -179,7 +179,7 @@ wxSize wxButton::GetDefaultSize()
     {
         wxScreenDC                  vDc;
 
-        vDc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+        vDc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
         //
         // The size of a standard button in the dialog units is 50x14,