caret API do something again even in non Unicode mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-13 14:58:15 +00:00
parent cc2a0b0170
commit 845b598c7a

View File

@@ -46,11 +46,9 @@
#ifdef __WIN16__ #ifdef __WIN16__
#define CALL_CARET_API(api, args) api args #define CALL_CARET_API(api, args) api args
#else // Win32 #else // Win32
#ifdef _UNICODE #define CALL_CARET_API(api, args) \
#define CALL_CARET_API(api, args) if ( !api args ) wxLogLastError(#api) if ( !api args ) \
#else wxLogLastError(_T(#api))
#define CALL_CARET_API(api, args)
#endif
#endif // Win16/32 #endif // Win16/32
// =========================================================================== // ===========================================================================