X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..be10c7f969bb460dc79bd8946d59bf54c98ac660:/src/msw/fdrepdlg.cpp diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 3964c6a4bf..924e7b3528 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -4,7 +4,6 @@ // Author: Markus Greither and Vadim Zeitlin // Modified by: // Created: 23/03/2001 -// RCS-ID: $Id$ // Copyright: (c) Markus Greither // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -240,21 +239,21 @@ wxFindReplaceDialogImpl::FindMessageHandler(wxWindow * WXUNUSED(win), // 2 cases dialog->GetImpl()->SetClosedByUser(); - evtType = wxEVT_COMMAND_FIND_CLOSE; + evtType = wxEVT_FIND_CLOSE; } else if ( pFR->Flags & FR_FINDNEXT ) { - evtType = wxEVT_COMMAND_FIND_NEXT; + evtType = wxEVT_FIND_NEXT; } else if ( pFR->Flags & FR_REPLACE ) { - evtType = wxEVT_COMMAND_FIND_REPLACE; + evtType = wxEVT_FIND_REPLACE; replace = true; } else if ( pFR->Flags & FR_REPLACEALL ) { - evtType = wxEVT_COMMAND_FIND_REPLACE_ALL; + evtType = wxEVT_FIND_REPLACE_ALL; replace = true; } @@ -310,7 +309,7 @@ wxFindReplaceDialogHookProc(HWND hwnd, FINDREPLACE *pFR = (FINDREPLACE *)lParam; wxFindReplaceDialog *dialog = (wxFindReplaceDialog *)pFR->lCustData; - ::SetWindowText(hwnd, dialog->GetTitle().wx_str()); + ::SetWindowText(hwnd, dialog->GetTitle().t_str()); // don't return FALSE from here or the dialog won't be shown return TRUE;