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:
twanvl
2010-12-07 21:13:28 +00:00
parent 7bad6c5ada
commit 8d830289a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -656,7 +656,7 @@ ApprenticeExportWindow::ApprenticeExportWindow(Window* parent, const SetP& set)
void ApprenticeExportWindow::onApprenticeBrowse(wxCommandEvent& ev) {
// browse for appr.exe
// same as in DirsPreferencesPage
wxFileDialog dlg(this, _TITLE_("locate apprentice"), apprentice->GetValue(), _(""), _LABEL_("apprentice exe") + _("|appr.exe"), wxOPEN);
wxFileDialog dlg(this, _TITLE_("locate apprentice"), apprentice->GetValue(), _(""), _LABEL_("apprentice exe") + _("|appr.exe"), wxFD_OPEN);
if (dlg.ShowModal() == wxID_OK) {
wxFileName fn(dlg.GetPath());
apprentice->SetValue(fn.GetPath());