X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86d870753c3d80d8ee2b7f09a56360f1e41faa9e..88b497c1291889313a82541267dfeac5ab13d06b:/src/msw/fdrepdlg.cpp diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 8cb9af619b..8ea315b657 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -91,7 +91,7 @@ private: // registered Message for Dialog static UINT ms_msgFindDialog; - DECLARE_NO_COPY_CLASS(wxFindReplaceDialogImpl) + wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialogImpl); }; UINT wxFindReplaceDialogImpl::ms_msgFindDialog = 0; @@ -310,7 +310,7 @@ wxFindReplaceDialogHookProc(HWND hwnd, FINDREPLACE *pFR = (FINDREPLACE *)lParam; wxFindReplaceDialog *dialog = (wxFindReplaceDialog *)pFR->lCustData; - ::SetWindowText(hwnd, dialog->GetTitle()); + ::SetWindowText(hwnd, dialog->GetTitle().wx_str()); // don't return FALSE from here or the dialog won't be shown return TRUE;