added wxDEPRECATED_BUT_USED_INTERNALLY_INLINE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-26 16:10:50 +00:00
parent cd60273b3d
commit 531cfed2d1
2 changed files with 23 additions and 1 deletions

View File

@@ -1065,7 +1065,7 @@ template <typename T> wxDELETEA(T*& array);
public:
// OldMethod() is deprecated, use NewMethod() instead
void NewMethod();
wxDEPRECATED_INLINE( void OldMethod(), NewMethod() );
wxDEPRECATED_INLINE( void OldMethod(), NewMethod(); )
};
@endcode
@@ -1073,6 +1073,17 @@ template <typename T> wxDELETEA(T*& array);
*/
#define wxDEPRECATED_INLINE(func, body)
/**
Combination of wxDEPRECATED_BUT_USED_INTERNALLY() and wxDEPRECATED_INLINE().
This macro should be used for deprecated functions called by the library
itself (usually for backwards compatibility reasons) and which are defined
inline.
@header{wx/defs.h}
*/
#define wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(func, body)
/**
@c wxEXPLICIT is a macro which expands to the C++ @c explicit keyword if
the compiler supports it or nothing otherwise. Thus, it can be used even in