]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
fix window repainting when SetLineCount() is called (patch 1667599; closes bug 1639629)
[wxWidgets.git] / src / gtk / filedlg.cpp
index 6bc006ce84d8fae73c8e07c3e8a0bca8f75685b4..25a5ceba6488715317b588f12158d3904841e8a5 100644 (file)
@@ -230,6 +230,8 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
         fn.Assign(defaultFileName);
     else if ( !defaultFileName.empty() )
         fn.Assign(defaultDir, defaultFileName);
+    else
+        fn.AssignDir(defaultDir);
 
     // set the initial file name and/or directory
     wxString fname = fn.GetFullName();