X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..1a4b50d2f1a81aa390ff70f4387bc776563cbab7:/src/msw/caret.cpp diff --git a/src/msw/caret.cpp b/src/msw/caret.cpp index 63fc43ac08..a043aa174a 100644 --- a/src/msw/caret.cpp +++ b/src/msw/caret.cpp @@ -43,15 +43,9 @@ // macros // --------------------------------------------------------------------------- -// under Win16 the caret APIs are void but under Win32 they may return an -// error code which we want to check - this macro does just this -#ifdef __WIN16__ - #define CALL_CARET_API(api, args) api args -#else // Win32 - #define CALL_CARET_API(api, args) \ +#define CALL_CARET_API(api, args) \ if ( !api args ) \ wxLogLastError(_T(#api)) -#endif // Win16/32 // =========================================================================== // implementation