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
This commit is contained in:
parent
2cc1457dd5
commit
df96c0fce6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user