From 4367dcf5a33f71c8afaf1abf3a65b268503e2b8c Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Thu, 4 Jun 2015 04:09:00 -0500 Subject: [PATCH] Forgot to save before committing...grrrr!!! --- src/AudacityApp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 8fb718bfd..699371195 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -963,7 +963,7 @@ void AudacityApp::InitLang( const wxString & lang ) wxString canon = lang; -#if defined(__MACOSX__) +#if defined(__WXMAC__) // This should be reviewed again during the wx3 conversion. // On OSX, the eventual call to setlocale() will fail to completely @@ -985,9 +985,9 @@ void AudacityApp::InitLang( const wxString & lang ) #endif #if wxCHECK_VERSION(3,0,0) - mLocale = new wxLocale(wxT(""), lang, wxT(""), true); + mLocale = new wxLocale(wxT(""), canon, wxT(""), true); #else - mLocale = new wxLocale(wxT(""), lang, wxT(""), true, true); + mLocale = new wxLocale(wxT(""), canon, wxT(""), true, true); #endif for(unsigned int i=0; i