]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/fontutil.cpp
filled-in DOS parts of wxMGL utils
[wxWidgets.git] / src / mgl / fontutil.cpp
index 3fcbc396d81d5c5077ee3816b495ab46354b21d1..59eb52336374f23154cb01c2c47c25f59e83d234 100644 (file)
@@ -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);