X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12a124ddc9f861d00370de1c7dfb660c53e6931b..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/propdlg.cpp?ds=sidebyside diff --git a/src/generic/propdlg.cpp b/src/generic/propdlg.cpp index 54a49b5dfa..20b01263c9 100644 --- a/src/generic/propdlg.cpp +++ b/src/generic/propdlg.cpp @@ -62,7 +62,7 @@ bool wxPropertySheetDialog::Create(wxWindow* parent, wxWindowID id, const wxStri const wxPoint& pos, const wxSize& sz, long style, const wxString& name) { - parent = GetParentForModalDialog(parent); + parent = GetParentForModalDialog(parent, style); if (!wxDialog::Create(parent, id, title, pos, sz, style|wxCLIP_CHILDREN, name)) return false;