X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff3e84ffdc91ee8a52b3ab646e48d44d62de80e1..aaa6d89a0d0810b001a9217df913b9b74b883c8d:/src/gtk/filedlg.cpp diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp index 39308de993..26d5463f92 100644 --- a/src/gtk/filedlg.cpp +++ b/src/gtk/filedlg.cpp @@ -202,7 +202,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, wxConvFileName->cWX2MB(defaultFileName)); #if GTK_CHECK_VERSION(2,7,3) - if ((style & wxOVERWRITE_PROMPT) && !gtk_check_version(2,7,3)) + if ((style & wxFD_OVERWRITE_PROMPT) && !gtk_check_version(2,7,3)) gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(m_widget), TRUE); #endif }