]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/settings.cpp
Applied patch #840643 from Ian Brown with some modifications:
[wxWidgets.git] / src / x11 / settings.cpp
index 6a4d646d8f4a0710280d3f85611c122c1508fb2b..188217ba890ac0f37dbcfc3dd3806a24e3db2427 100644 (file)
@@ -13,7 +13,7 @@
 // per-user file, which can be edited using a Windows-control-panel clone.
 // Also they should be documented better. Some are very MS Windows-ish.
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "settings.h"
 #endif
 
@@ -50,7 +50,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
         case wxSYS_DEFAULT_GUI_FONT:
         default:
         {
-            return wxFont(12, wxNORMAL, wxNORMAL, wxNORMAL, FALSE);
+            return wxFont(12, wxSWISS, wxNORMAL, wxNORMAL, FALSE);
             break;
         }
     }