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, etc
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1535 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -97,7 +97,7 @@ void WelcomeWindow::draw(DC& dc) {
|
||||
}
|
||||
|
||||
void WelcomeWindow::onOpenSet(wxCommandEvent&) {
|
||||
wxFileDialog* dlg = new wxFileDialog(this, _TITLE_("open set"), settings.default_set_dir, wxEmptyString, import_formats(), wxOPEN);
|
||||
wxFileDialog* dlg = new wxFileDialog(this, _TITLE_("open set"), settings.default_set_dir, wxEmptyString, import_formats(), wxFD_OPEN);
|
||||
if (dlg->ShowModal() == wxID_OK) {
|
||||
settings.default_set_dir = dlg->GetDirectory();
|
||||
wxBusyCursor wait;
|
||||
|
||||
Reference in New Issue
Block a user