From fbc7f425be5bf6e64a9b66f8761682b1fd758714 Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 7 Dec 2010 21:08:48 +0000 Subject: [PATCH] compatibility with wxWdigets 2.9+: wxSAVE -> wxFD_SAVE, etc git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1534 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/preferences_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/preferences_window.cpp b/src/gui/preferences_window.cpp index c20847cd..67be09e2 100644 --- a/src/gui/preferences_window.cpp +++ b/src/gui/preferences_window.cpp @@ -321,7 +321,7 @@ void DirsPreferencesPage::store() { void DirsPreferencesPage::onApprenticeBrowse(wxCommandEvent&) { // browse for appr.exe - 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());