Fix for bug #1266745 and #1387725 in the wxFindReplaceDialog on MSW.

Actually check we are using MSLU before doing the hack designed to
workaround a bug in MSLU!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-12-22 23:33:08 +00:00
parent 5aad18a52b
commit ac9251e323

View File

@ -238,7 +238,7 @@ LRESULT APIENTRY wxFindReplaceWindowProc(HWND hwnd, WXUINT nMsg,
// of UNICOWS.DLL send the correct UNICODE item after button press
// and a bogus ANSI mode item right after this, so lets ignore
// the second bogus message
if ( s_lastMsgFlags == pFR->Flags )
if ( wxUsingUnicowsDll() && s_lastMsgFlags == pFR->Flags )
{
s_lastMsgFlags = 0;
return 0;