Remove wxWidgets' file overwrite checks in favour of our own (because of #1383).
[dcpomatic.git] / src / wx / full_config_dialog.cc
index 974635a8b407f6f6cd0ee2096740a55a0b420e8d..8c822e1736d77d27e873fb5fb4c4d32f5b358955 100644 (file)
@@ -191,8 +191,7 @@ private:
        void export_cinemas_file ()
        {
                wxFileDialog* d = new wxFileDialog (
-                       _panel, _("Select Cinemas File"), wxEmptyString, wxEmptyString, wxT ("XML files (*.xml)|*.xml"),
-                       wxFD_SAVE | wxFD_OVERWRITE_PROMPT
+                       _panel, _("Select Cinemas File"), wxEmptyString, wxEmptyString, wxT ("XML files (*.xml)|*.xml"), wxFD_SAVE
                 );
 
                if (d->ShowModal () == wxID_OK) {