X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/456bc6d9b83882a3b0e919fc733898d9d331ecd6..f538710f0b798b21365fd614ba531055b225b115:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 24d5340b6e..62da82af8e 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -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