X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2903e6998a46a0b3504da30e21a9c28b344680ae..dcd223d1d14d7a8cf2f3b576b05fbc24606cc511:/src/generic/fdrepdlg.cpp 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);