mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
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
This commit is contained in:
@@ -321,7 +321,7 @@ void DirsPreferencesPage::store() {
|
|||||||
|
|
||||||
void DirsPreferencesPage::onApprenticeBrowse(wxCommandEvent&) {
|
void DirsPreferencesPage::onApprenticeBrowse(wxCommandEvent&) {
|
||||||
// browse for appr.exe
|
// 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) {
|
if (dlg.ShowModal() == wxID_OK) {
|
||||||
wxFileName fn(dlg.GetPath());
|
wxFileName fn(dlg.GetPath());
|
||||||
apprentice->SetValue(fn.GetPath());
|
apprentice->SetValue(fn.GetPath());
|
||||||
|
|||||||
Reference in New Issue
Block a user