X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9f3519cf4d3adec765a932a726e2f1d34e0df9..69fdd54eeb09e2a2dcc9907804d8449499d88aba:/src/generic/propdlg.cpp?ds=sidebyside diff --git a/src/generic/propdlg.cpp b/src/generic/propdlg.cpp index 15cd495c34..fa41bed4a8 100644 --- a/src/generic/propdlg.cpp +++ b/src/generic/propdlg.cpp @@ -62,6 +62,8 @@ bool wxPropertySheetDialog::Create(wxWindow* parent, wxWindowID id, const wxStri const wxPoint& pos, const wxSize& sz, long style, const wxString& name) { + parent = GetParentForModalDialog(parent); + if (!wxDialog::Create(parent, id, title, pos, sz, style|wxCLIP_CHILDREN, name)) return false;