]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirdlgg.cpp
Implement icon text column using native GTK renderers in wxDVC.
[wxWidgets.git] / src / generic / dirdlgg.cpp
index 5b7b50b2c3ef981aa122e033f21e0c6190f7fabc..f3a8fd5a5cd50aa576d50f8ff722b30a2877dc40 100644 (file)
@@ -33,6 +33,7 @@
 #include "wx/dirctrl.h"
 #include "wx/generic/dirdlgg.h"
 #include "wx/artprov.h"
+#include "wx/menu.h"
 
 // ----------------------------------------------------------------------------
 // constants
@@ -78,6 +79,8 @@ bool wxGenericDirDialog::Create(wxWindow* parent,
 {
     wxBusyCursor cursor;
 
+    parent = GetParentForModalDialog(parent);
+
     if (!wxDirDialogBase::Create(parent, title, defaultPath, style, pos, sz, name))
         return false;