]> git.saurik.com Git - wxWidgets.git/commitdiff
Use _UNICODE instead of UNICODE in wx/msw/winundef.h.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Mar 2010 11:08:52 +0000 (11:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Mar 2010 11:08:52 +0000 (11:08 +0000)
This is consistent with the other checks and generally more correct.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/winundef.h

index a3fd4e2ce7a2e32edd3c99e9fe0ee2e49df56578..41cea6dc9025d97d7eae68c2b75939396f43b1b9 100644 (file)
 
     inline HWND APIENTRY FindText(LPFINDREPLACE lpfindreplace)
     {
-        #ifdef UNICODE
+        #ifdef _UNICODE
             return FindTextW(lpfindreplace);
         #else
             return FindTextA(lpfindreplace);
-        #endif // !UNICODE
+        #endif
     }
 #endif