X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/493bdcc72ab4360b41897193ee9def744d24988f..b916f809336755620b010293637b12763f01455d:/src/mgl/fontutil.cpp?ds=sidebyside diff --git a/src/mgl/fontutil.cpp b/src/mgl/fontutil.cpp index 3fcbc396d8..59eb523363 100644 --- a/src/mgl/fontutil.cpp +++ b/src/mgl/fontutil.cpp @@ -245,7 +245,7 @@ wxMGLFontInstance *wxMGLFontLibrary::GetFontInstance(wxFont *font, { gs_antialiasingThreshold = 10; #if wxUSE_SYSTEM_OPTIONS - if ( wxSystemOptions::HasOption(wxT("mgl.aa-threshold") ) + if ( wxSystemOptions::HasOption(wxT("mgl.aa-threshold")) ) gs_antialiasingThreshold = wxSystemOptions::GetOptionInt(wxT("mgl.aa-threshold")); wxLogTrace("mgl_font", "AA threshold set to %i", gs_antialiasingThreshold); @@ -414,7 +414,7 @@ wxMGLFontLibrary *wxFontsManager::GetFontLibrary(wxFont *font) return family->GetLibrary(type); } -static ibool enum_callback(const font_info_t *info, void *cookie) +static ibool MGLAPI enum_callback(const font_info_t *info, void *cookie) { wxFontsManager *db = (wxFontsManager*)cookie; db->AddFamily(info);