diff --git a/src/msw/caret.cpp b/src/msw/caret.cpp index 63ca6a8de3..a7c7d63d90 100644 --- a/src/msw/caret.cpp +++ b/src/msw/caret.cpp @@ -39,9 +39,11 @@ // macros // --------------------------------------------------------------------------- -#define CALL_CARET_API(api, args) \ - if ( !api args ) \ - wxLogLastError(wxT(#api)) +#define CALL_CARET_API(api, args) \ + if ( !api args ) \ + { \ + wxLogLastError(wxT(#api)); \ + } // =========================================================================== // implementation