]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
missing reversed orientation assignments
[wxWidgets.git] / src / gtk / filedlg.cpp
index 16cc0b0c5617b699e286bd0978912513cef73c46..40085781d96db4c91be9eed5b4e950b6eda5307d 100644 (file)
@@ -404,7 +404,7 @@ void wxFileDialog::SetFilename(const wxString& name)
 {
     if (!gtk_check_version(2,4,0))
     {
-        if (HasFlag(wxFD_SAVE))
+        if (HasFdFlag(wxFD_SAVE))
             gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(m_widget), wxGTK_CONV(name));
         else
             SetPath(wxFileName(GetDirectory(), name).GetFullPath());