mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1533 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user