From ac9251e32375d6f55e1e5126a8a704874ff39e53 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 22 Dec 2005 23:33:08 +0000 Subject: [PATCH] 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 --- src/msw/fdrepdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 5fa2be38e2..f7c9f27d0c 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -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; -- 2.45.2