Commit 38cd7699 authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE

parent d5ecd0b9
......@@ -63,7 +63,7 @@ void ImagesExportWindow::onOk(wxCommandEvent&) {
else gs.images_export_conflicts = CONFLICT_NUMBER_OVERWRITE;
// Select filename
String name = wxFileSelector(_TITLE_("export images"), settings.default_export_dir, _LABEL_("filename is ignored"),_(""),
_LABEL_("filename is ignored")+_("|*"), wxSAVE, this);
_LABEL_("filename is ignored")+_("|*"), wxFD_SAVE, this);
if (name.empty()) return;
settings.default_export_dir = wxPathOnly(name);
// Export
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment