X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/msw/fdrepdlg.cpp diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 3964c6a4bf..7f27803410 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -240,21 +240,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 +310,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;