X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2229243bdf17485b33c15786124ab99366b83975..737883f20a97658d4d94f8dfbcf2062209c39a28:/src/generic/dirdlgg.cpp?ds=sidebyside diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index bfe97a9cf9..1222695add 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -33,6 +33,7 @@ #include "wx/dirctrl.h" #include "wx/generic/dirdlgg.h" #include "wx/artprov.h" +#include "wx/menu.h" // ---------------------------------------------------------------------------- // constants @@ -78,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;