]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
Free calloc()'d pointer correctly in wxFSWatchEntryMSW.
[wxWidgets.git] / include / wx / msw / winundef.h
index a3fd4e2ce7a2e32edd3c99e9fe0ee2e49df56578..41cea6dc9025d97d7eae68c2b75939396f43b1b9 100644 (file)
 
     inline HWND APIENTRY FindText(LPFINDREPLACE lpfindreplace)
     {
 
     inline HWND APIENTRY FindText(LPFINDREPLACE lpfindreplace)
     {
-        #ifdef UNICODE
+        #ifdef _UNICODE
             return FindTextW(lpfindreplace);
         #else
             return FindTextA(lpfindreplace);
             return FindTextW(lpfindreplace);
         #else
             return FindTextA(lpfindreplace);
-        #endif // !UNICODE
+        #endif
     }
 #endif
 
     }
 #endif