fix bug with #define FindText

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2002-09-27 13:58:23 +00:00
parent ebfa00d564
commit ca93de9778

View File

@@ -58,6 +58,21 @@
}
#endif
// FindText
#ifdef FindText
#undef FindText
inline HWND APIENTRY FindText(LPFINDREPLACE lpfindreplace)
{
#ifdef UNICODE
return FindTextW(lpfindreplace);
#else
return FindTextA(lpfindreplace);
#endif // !UNICODE
}
#endif
// GetCharWidth
#ifdef GetCharWidth