X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2903e6998a46a0b3504da30e21a9c28b344680ae..21b5902b816cb65bcfe2629fb8b85deb0f14d807:/src/generic/fdrepdlg.cpp?ds=sidebyside diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index 157ee8a1b5..87a9ee5380 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -87,7 +87,7 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, const wxString& title, int style) { - parent = GetParentForModalDialog(parent); + parent = GetParentForModalDialog(parent, style); if ( !wxDialog::Create(parent, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, @@ -100,7 +100,7 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, SetData(data); wxCHECK_MSG( m_FindReplaceData, false, - _T("can't create dialog without data") ); + wxT("can't create dialog without data") ); bool isPda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA);