]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
do NOT hard code univ sources in x11 port
[wxWidgets.git] / src / mgl / settings.cpp
index 2b074eb7134cb479a16a5fd958c83d37fd7cc83c..d3b4828427a2d495e7ebad4e992d5b7df8119876 100644 (file)
@@ -21,6 +21,7 @@
 #include "wx/settings.h"
 #include "wx/colour.h"
 #include "wx/font.h"
+#include "wx/gdicmn.h"
 #include "wx/module.h"
 
 // ----------------------------------------------------------------------------
@@ -47,13 +48,13 @@ IMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule)
 
 
 
-wxColour wxSystemSettings::GetSystemColour(int WXUNUSED(index))
+wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index))
 {
-    // FIXME_MGL
+    // not implemented, the mean is in wxUniversal
     return wxColour(0,0,0);
 }
 
-wxFont wxSystemSettings::GetSystemFont(int index)
+wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
 {
     switch (index)
     {
@@ -77,7 +78,7 @@ wxFont wxSystemSettings::GetSystemFont(int index)
     }
 }
 
-int wxSystemSettings::GetSystemMetric(int WXUNUSED(index))
+int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
 {
     int val;
     
@@ -94,12 +95,12 @@ int wxSystemSettings::GetSystemMetric(int WXUNUSED(index))
             return 15; 
             break;
         default:
-            wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetSystemMetric not fully implemented"));
+            wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetMetric not fully implemented"));
             return 0;
     }
 }
 
-bool wxSystemSettings::GetCapability(int index)
+bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
 {
     switch (index)
     {