]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirdlgg.cpp
Correct Mac OX/iPhone check in libpng.
[wxWidgets.git] / src / generic / dirdlgg.cpp
index f3a8fd5a5cd50aa576d50f8ff722b30a2877dc40..1222695adda9826b5ff0dbf72b3a9494ef5ecc15 100644 (file)
@@ -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;