added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -258,11 +258,14 @@ protected:
|
||||
virtual void DoLog(wxLogLevel level, const wxString& szString, time_t t);
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
// these shouldn't be used by new code
|
||||
virtual void DoLog(wxLogLevel WXUNUSED(level),
|
||||
const char *WXUNUSED(szString), time_t WXUNUSED(t)) {}
|
||||
virtual void DoLog(wxLogLevel WXUNUSED(level),
|
||||
const wchar_t *WXUNUSED(szString), time_t WXUNUSED(t)) {}
|
||||
#endif
|
||||
wxDEPRECATED_BUT_USED_INTERNALLY(
|
||||
virtual void DoLog(wxLogLevel level, const char *szString, time_t t)
|
||||
);
|
||||
|
||||
wxDEPRECATED_BUT_USED_INTERNALLY(
|
||||
virtual void DoLog(wxLogLevel level, const wchar_t *wzString, time_t t)
|
||||
);
|
||||
#endif // WXWIN_COMPATIBILITY_2_8
|
||||
|
||||
void LogString(const wxString& szString, time_t t)
|
||||
{ DoLogString(szString, t); }
|
||||
|
Reference in New Issue
Block a user