]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
Include wx/region.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / mgl / settings.cpp
index 060e5bf51aa0afd13d3b85622e95763505ddfcbc..c051f96414a38b0726b26f5e9fd6c22866312ff3 100644 (file)
 #endif
 
 #include "wx/settings.h"
-#include "wx/colour.h"
-#include "wx/font.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/colour.h"
+    #include "wx/font.h"
+#endif
+
 #include "wx/gdicmn.h"
 #include "wx/module.h"
 
@@ -68,6 +72,9 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
                 gs_fontDefault = new wxFont(10, wxSWISS, wxNORMAL, wxNORMAL, false, "Arial");
             return *gs_fontDefault;
         }
+        default:
+        {
+        }
     }
 
     return wxNullFont;
@@ -88,6 +95,9 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(w
         case wxSYS_VSCROLL_X:
         case wxSYS_HSCROLL_Y:
             return 15;
+        default:
+        {
+        }
     }
 
     return -1;  // unsupported metric
@@ -101,6 +111,9 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
             return false;
         case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
             return false;
+        default:
+        {
+        }
     }
 
     return false;