X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/017dc06b502c041c112a3948e6c5f65000a86d94..ba0cf6af6d19a7a91ed5087f20bf9b93b7a4f911:/src/msw/fdrepdlg.cpp diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index d185b884c3..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; }