backward-compatiblity functions must go to wxSystemSettings,
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user