]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/settings.cpp
Fix compilation errors under OSX.
[wxWidgets.git] / src / gtk / settings.cpp
index 51f5a3eb084298a4441f73effbc85de791dbf958..0712e10fe77737d737ef7b38908e66e29b18b56b 100644 (file)
@@ -258,7 +258,7 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index )
         case wxSYS_SYSTEM_FONT:
         case wxSYS_DEVICE_DEFAULT_FONT:
         case wxSYS_DEFAULT_GUI_FONT:
-            if (!gs_fontSystem.Ok())
+            if (!gs_fontSystem.IsOk())
             {
                 wxNativeFontInfo info;
                 info.description = ButtonStyle()->font_desc;