]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type.
[wxWidgets.git] / src / unix / utilsunx.cpp
index 455db74030bb0bd16ba34cbfacd672f7c0c408de..ec550fcf244c9a990bec2e530683fd7418e9533a 100644 (file)
@@ -728,7 +728,9 @@ long wxExecute(char **argv, int flags, wxProcess *process,
                 // it might not be the best idea.
                 wxLogSysError(_("Failed to set up non-blocking pipe, "
                                 "the program might hang."));
                 // it might not be the best idea.
                 wxLogSysError(_("Failed to set up non-blocking pipe, "
                                 "the program might hang."));
+#if wxUSE_LOG
                 wxLog::FlushActive();
                 wxLog::FlushActive();
+#endif
             }
 
             wxOutputStream *inStream =
             }
 
             wxOutputStream *inStream =