X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86d870753c3d80d8ee2b7f09a56360f1e41faa9e..e6a8416274252fb6ea33800cfce0e4ba0a0542f1:/src/msw/fdrepdlg.cpp?ds=inline diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 8cb9af619b..61441c2782 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -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;