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:
@@ -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
|
||||
|
Reference in New Issue
Block a user