]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
applied part of patch 1169925: fix errors with multibyte <-> wx conversions
[wxWidgets.git] / src / gtk / filedlg.cpp
index 3c909e79bfc7e4360174862106198191955baad6..1240658ca2cdab2ede48d2971d7484f1a338cc98 100644 (file)
@@ -299,7 +299,8 @@ void wxFileDialog::GetPaths(wxArrayString& paths) const
             if (gpaths)
                 g_slist_free(gpaths);
         }
-        else
+
+        if ( paths.IsEmpty() )
         {
             paths.Add(m_fileName);
         }