From: Vadim Zeitlin Date: Sun, 2 Jul 2006 01:31:55 +0000 (+0000) Subject: use gtk_file_chooser_set_current_folder() instead of gtk_file_chooser_set_filename... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/df96c0fce66c470967bcccd750ff89aa29314866 use gtk_file_chooser_set_current_folder() instead of gtk_file_chooser_set_filename() in GTK+ native SetPath() branch (patch 1513554) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dirdlg.cpp b/src/gtk/dirdlg.cpp index a96299c6f6..18628f6086 100644 --- a/src/gtk/dirdlg.cpp +++ b/src/gtk/dirdlg.cpp @@ -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