]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
don't enable previously checked button in a radio group (patch 1767481)
[wxWidgets.git] / src / gtk / filedlg.cpp
index 1f12180c3268a6f279ad189796e238ef7df37c01..12439a5e0713ac932fa8e83781afa83b55c74222 100644 (file)
@@ -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() )
     {