mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE, etc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1540 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -63,7 +63,7 @@ void export_mws(Window* parent, const SetP& set) {
|
||||
// Select filename
|
||||
String name = wxFileSelector(_("Export to file"),settings.default_export_dir,_(""),_(""),
|
||||
_("Text files (*.txt)|*.txt|All Files|*"),
|
||||
wxSAVE | wxOVERWRITE_PROMPT, parent);
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT, parent);
|
||||
if (name.empty()) return;
|
||||
settings.default_export_dir = wxPathOnly(name);
|
||||
wxBusyCursor busy;
|
||||
|
||||
Reference in New Issue
Block a user