X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2903e6998a46a0b3504da30e21a9c28b344680ae..7d6a4d96961eac84d05db8bb24c64d39003f6e54:/src/generic/fdrepdlg.cpp?ds=sidebyside diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index 157ee8a1b5..27289d6e37 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/generic/fdrepgg.cpp +// Name: src/generic/fdrepdlg.cpp // Purpose: Find/Replace dialogs // Author: Markus Greither and Vadim Zeitlin // Modified by: @@ -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);