]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/caret.cpp
Fix compilation with MinGW -std=c++11 option.
[wxWidgets.git] / src / msw / caret.cpp
index 8574c2acc7b3c23add1af61521085ee135f87ec8..4252a732f1dff941723f7577364a066147845159 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        msw/caret.cpp
+// Name:        src/msw/caret.cpp
 // Purpose:     MSW implementation of wxCaret
 // Author:      Vadim Zeitlin
 // Modified by:
 // macros
 // ---------------------------------------------------------------------------
 
-#define CALL_CARET_API(api, args)   \
-        if ( !api args )                \
-            wxLogLastError(_T(#api))
+#define CALL_CARET_API(api, args) \
+        if ( !api args ) \
+        { \
+            wxLogLastError(wxT(#api)); \
+        }
 
 // ===========================================================================
 // implementation