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:
Vadim Zeitlin
2007-06-15 15:08:51 +00:00
parent 149210fbba
commit 5d88a6b579
26 changed files with 1685 additions and 1594 deletions

View File

@@ -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"