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__
|
||||
#define CALL_CARET_API(api, args) api args
|
||||
#else // Win32
|
||||
#ifdef _UNICODE
|
||||
#define CALL_CARET_API(api, args) if ( !api args ) wxLogLastError(#api)
|
||||
#else
|
||||
#define CALL_CARET_API(api, args)
|
||||
#endif
|
||||
#define CALL_CARET_API(api, args) \
|
||||
if ( !api args ) \
|
||||
wxLogLastError(_T(#api))
|
||||
#endif // Win16/32
|
||||
|
||||
// ===========================================================================
|
||||
|
Reference in New Issue
Block a user