]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
Bring upstream version tagged ACARC_2006_07_16 through from vendor branch.
[wxWidgets.git] / src / mgl / settings.cpp
index 465cf23591c3d4a5bb8e2ef58cd26e2cdbb9e31a..01ca9d65b955b5e6392afeb44d335e4ede229151 100644 (file)
 #endif
 
 #include "wx/settings.h"
-#include "wx/colour.h"
-#include "wx/font.h"
-#include "wx/gdicmn.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/colour.h"
+    #include "wx/font.h"
+    #include "wx/gdicmn.h"
+#endif
+
 #include "wx/module.h"
 
 // ----------------------------------------------------------------------------
@@ -104,12 +108,12 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
     switch (index)
     {
         case wxSYS_CAN_ICONIZE_FRAME:
-            return false;
         case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+        case wxSYS_TABLET_PRESENT:
             return false;
+
         default:
-        {
-        }
+            wxFAIL_MSG( _T("unknown feature") );
     }
 
     return false;