]> git.saurik.com Git - wxWidgets.git/commitdiff
use gtk_file_chooser_set_current_folder() instead of gtk_file_chooser_set_filename...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jul 2006 01:31:55 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jul 2006 01:31:55 +0000 (01:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dirdlg.cpp

index a96299c6f695ff2bea0eade74f93bb5ef17d39bd..18628f6086c576ee63beaa055bbc526d2c3a895f 100644 (file)
@@ -202,7 +202,7 @@ void wxDirDialog::SetPath(const wxString& dir)
     {
         if (wxDirExists(dir))
         {
-            gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(m_widget), wxConvFileName->cWX2MB(dir));
+            gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(m_widget), wxConvFileName->cWX2MB(dir));
         }
     }
     else