]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows...
[wxWidgets.git] / src / msw / button.cpp
index 24d5340b6e8a5a2fc769ae12ddc21bb86c06ed91..62da82af8e9ebd9f9aadc4278061fcc6d878af5f 100644 (file)
@@ -164,7 +164,7 @@ wxSize wxButtonBase::GetDefaultSize()
     if ( s_sizeBtn.x == 0 )
     {
         wxScreenDC dc;
-        dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+        dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
         // the size of a standard button in the dialog units is 50x14,
         // translate this to pixels