]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
picker controls improvements: fixes to valid paths recognition and event generation...
[wxWidgets.git] / src / gtk / filedlg.cpp
index 39308de993b2cc824cd6f10d063d017558f78bc1..26d5463f92c27ce6aae117e55372f1ce49e7929c 100644 (file)
@@ -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
         }