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:
@@ -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
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
Reference in New Issue
Block a user