]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Another fix for PCH-less build in markup code.
[wxWidgets.git] / src / generic / filedlgg.cpp
index dc2719db4bc6bbff746210668b01935abb1eb35c..f34ff0a9ed28f850e5e8891a9230421e5fdb6796 100644 (file)
@@ -164,7 +164,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent,
 {
     m_bypassGenericImpl = bypassGenericImpl;
 
-    parent = GetParentForModalDialog(parent);
+    parent = GetParentForModalDialog(parent, style);
 
     if (!wxFileDialogBase::Create(parent, message, defaultDir, defaultFile,
                                   wildCard, style, pos, sz, name))