X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a85ad1db05e7d940383fdf75671f1aa69dacbb42..e8fd252ef87d8ff6409d405218ff02c91b980e0a:/src/generic/dirdlgg.cpp diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index f3a8fd5a5c..1222695add 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -79,7 +79,7 @@ bool wxGenericDirDialog::Create(wxWindow* parent, { wxBusyCursor cursor; - parent = GetParentForModalDialog(parent); + parent = GetParentForModalDialog(parent, style); if (!wxDirDialogBase::Create(parent, title, defaultPath, style, pos, sz, name)) return false;