X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d09dd96e31ab84de80d4560dfc7b0d77bb6248a3..456fd7b661b2aa150443fe47a8c9c728c0509f73:/include/wx/settings.h diff --git a/include/wx/settings.h b/include/wx/settings.h index 4ed8c4c64a..a4dc9145c1 100644 --- a/include/wx/settings.h +++ b/include/wx/settings.h @@ -180,7 +180,7 @@ class WXDLLEXPORT wxSystemSettings : public wxSystemSettingsNative public: #ifdef __WXUNIVERSAL__ // in wxUniversal we want to use the theme standard colours instead of the - // system ones, otherwuse wxSystemSettings is just the same as + // system ones, otherwise wxSystemSettings is just the same as // wxSystemSettingsNative static wxColour GetColour(wxSystemColour index); #endif // __WXUNIVERSAL__ @@ -195,15 +195,13 @@ public: // Value static wxSystemScreenType ms_screen; - +#if WXWIN_COMPATIBILITY_2_4 // 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); } + wxDEPRECATED(static wxColour GetSystemColour(int index)); + wxDEPRECATED(static wxFont GetSystemFont(int index)); + wxDEPRECATED(static int GetSystemMetric(int index)); +#endif }; #endif