X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e808cf8a0a77ced81143e9b27283a3b2a907a747..c7c6e54baed01937426239dd38164ee0326fa172:/src/gtk/filedlg.cpp?ds=sidebyside diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp index 16cc0b0c56..40085781d9 100644 --- a/src/gtk/filedlg.cpp +++ b/src/gtk/filedlg.cpp @@ -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());