X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eddec696f06d65a80e7339b2fae14fcb55f8383..9a0a58f5afb88fc72f04333e32208e3b3bf2ccc5:/src/generic/fdrepdlg.cpp diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index 797ac68cbb..976ade0dec 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -87,6 +87,8 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, const wxString& title, int style) { + parent = GetParentForModalDialog(parent); + if ( !wxDialog::Create(parent, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER