X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9f3519cf4d3adec765a932a726e2f1d34e0df9..85036849829a5067aecb32bb1443ba43b75ce994:/src/generic/dirdlgg.cpp diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index 5b7b50b2c3..bfe97a9cf9 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -78,6 +78,8 @@ bool wxGenericDirDialog::Create(wxWindow* parent, { wxBusyCursor cursor; + parent = GetParentForModalDialog(parent); + if (!wxDirDialogBase::Create(parent, title, defaultPath, style, pos, sz, name)) return false;