]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirdlgg.cpp
no changes, just fixed a typo in an error message
[wxWidgets.git] / src / generic / dirdlgg.cpp
index 5b7b50b2c3ef981aa122e033f21e0c6190f7fabc..bfe97a9cf94babd4a96b19fc1109bfbfea618f30 100644 (file)
@@ -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;