X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e2838090992384911a6a6aa44cac985d79a555..2b9a7d4cc2f5f55df3d83f7cf2160cf9a509a4f2:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index cdad2d28da..b50d0c6bd8 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -217,7 +217,7 @@ WXDWORD wxButton::MSWGetStyle(long style, WXDWORD *exstyle) const wxSize wxButton::DoGetBestSize() const { wxClientDC dc(wx_const_cast(wxButton *, this)); - dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); + dc.SetFont(GetFont()); wxCoord wBtn, hBtn;