X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9e507946d044a0578bff7f9d65249b0a3df6cee..53f6aab75294c585e53e02b618a09dcb1dd97fb8:/include/wx/settings.h diff --git a/include/wx/settings.h b/include/wx/settings.h index b4c0d8598e..8266bce440 100644 --- a/include/wx/settings.h +++ b/include/wx/settings.h @@ -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