X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2260bc5fb171b6c0b83106ef823b815359bd71fe..0c1cc9483ecba053bc9a0983a4a8d48898e334f2:/src/mac/carbon/gdiobj.cpp?ds=inline diff --git a/src/mac/carbon/gdiobj.cpp b/src/mac/carbon/gdiobj.cpp index 3e1b73d874..76156134e0 100644 --- a/src/mac/carbon/gdiobj.cpp +++ b/src/mac/carbon/gdiobj.cpp @@ -15,9 +15,9 @@ #ifndef WX_PRECOMP #include "wx/gdicmn.h" + #include "wx/module.h" #endif -#include "wx/module.h" #include "wx/link.h" #include "wx/mac/private.h" @@ -59,11 +59,11 @@ const wxFont* wxStockGDIMac::GetFont(Item item) { case FONT_NORMAL: font = new wxFont; - font->MacCreateThemeFont(kThemeSystemFont); + font->MacCreateFromThemeFont(kThemeSystemFont); break; case FONT_SMALL: font = new wxFont; - font->MacCreateThemeFont(kThemeSmallSystemFont); + font->MacCreateFromThemeFont(kThemeSmallSystemFont); break; default: font = const_cast(super::GetFont(item));