X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eddec696f06d65a80e7339b2fae14fcb55f8383..13e24d79876b78545ba300e6b6871bc47af60848:/src/generic/fdrepdlg.cpp?ds=sidebyside 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