]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
GetLabelTop should return the stripped label, for compatibility.
[wxWidgets.git] / src / mgl / settings.cpp
index 6254a65ed99ae3968e8144f69481cfb702c7fd57..93224a6c295b4a39777d213084a44708e6489362 100644 (file)
     #include "wx/colour.h"
     #include "wx/font.h"
     #include "wx/gdicmn.h"
     #include "wx/colour.h"
     #include "wx/font.h"
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#include "wx/module.h"
-
 // ----------------------------------------------------------------------------
 // global data
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // global data
 // ----------------------------------------------------------------------------
@@ -49,7 +48,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule)
 
 wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index))
 {
 
 wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index))
 {
-    // not implemented, the mean is in wxUniversal
+    // overridden by wxSystemSettings::GetColour in wxUniversal
     return wxColour(0,0,0);
 }
 
     return wxColour(0,0,0);
 }
 
@@ -108,12 +107,12 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
     switch (index)
     {
         case wxSYS_CAN_ICONIZE_FRAME:
     switch (index)
     {
         case wxSYS_CAN_ICONIZE_FRAME:
-            return false;
         case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
         case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
+        case wxSYS_TABLET_PRESENT:
             return false;
             return false;
+
         default:
         default:
-        {
-        }
+            wxFAIL_MSG( _T("unknown feature") );
     }
 
     return false;
     }
 
     return false;