From 78355ffc7bc37f20e0184bb75731eb86cffdeaa5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 14 Jul 2007 20:30:46 +0000 Subject: [PATCH] make the path absolute before using it with gtk_file_chooser_set_current_folder() (patch 1753796) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/filedlg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp index 1f12180c32..12439a5e07 100644 --- a/src/gtk/filedlg.cpp +++ b/src/gtk/filedlg.cpp @@ -237,6 +237,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, fn.AssignDir(defaultDir); // set the initial file name and/or directory + fn.MakeAbsolute(); // GTK+ needs absolute path const wxString dir = fn.GetPath(); if ( !dir.empty() ) { -- 2.45.2