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:
@@ -523,6 +523,17 @@ typedef int wxWindowID;
|
||||
#define wxDEPRECATED(x) x
|
||||
#endif
|
||||
|
||||
/*
|
||||
Special variant of the macro above which should be used for the functions
|
||||
which are deprecated but called by wx itself: this often happens with
|
||||
deprecated virtual functions which are called by the library.
|
||||
*/
|
||||
#ifdef WXBUILDING
|
||||
# define wxDEPRECATED_BUT_USED_INTERNALLY(x) x
|
||||
#else
|
||||
# define wxDEPRECATED_BUT_USED_INTERNALLY(x) wxDEPRECATED(x)
|
||||
#endif
|
||||
|
||||
/* everybody gets the assert and other debug macros */
|
||||
#include "wx/debug.h"
|
||||
|
||||
|
Reference in New Issue
Block a user