]> git.saurik.com Git - wxWidgets.git/commitdiff
backward-compatiblity functions must go to wxSystemSettings,
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Jan 2002 23:25:53 +0000 (23:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Jan 2002 23:25:53 +0000 (23:25 +0000)
otherwise (non-virtual) wxSSNative version would be used :(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/settings.h

index b4c0d8598ea6cb0c6f2f3ec70ba0238d2f5d0635..8266bce44076894d23b979b5e1ecb1d65acb0bf7 100644 (file)
@@ -149,16 +149,6 @@ public:
 
     // return true if the port has certain feature
     static bool HasFeature(wxSystemFeature index);
-
-
-    // the backwards compatible versions, don't use these methods in the new
-    // code!
-    static wxColour GetSystemColour(int index)
-        { return GetColour((wxSystemColour)index); }
-    static wxFont GetSystemFont(int index)
-        { return GetFont((wxSystemFont)index); }
-    static int GetSystemMetric(int index)
-        { return GetMetric((wxSystemMetric)index); }
 };
 
 // ----------------------------------------------------------------------------
@@ -174,6 +164,16 @@ public:
     // wxSystemSettingsNative
     static wxColour GetColour(wxSystemColour index);
 #endif // __WXUNIVERSAL__
+
+
+    // the backwards compatible versions of wxSystemSettingsNative functions,
+    // don't use these methods in the new code!
+    static wxColour GetSystemColour(int index)
+        { return GetColour((wxSystemColour)index); }
+    static wxFont GetSystemFont(int index)
+        { return GetFont((wxSystemFont)index); }
+    static int GetSystemMetric(int index)
+        { return GetMetric((wxSystemMetric)index); }
 };
 
 #endif