From fc7a20dd0fb3f7727ab4266ab629714776e4da9f Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 10 Apr 2022 21:12:45 -0500 Subject: [PATCH] wx: Fix compile on wx 3.1.6 --- pcsx2/gui/i18n.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcsx2/gui/i18n.cpp b/pcsx2/gui/i18n.cpp index 260d8f1d30..28966513e0 100644 --- a/pcsx2/gui/i18n.cpp +++ b/pcsx2/gui/i18n.cpp @@ -36,7 +36,9 @@ static wxString i18n_GetBetterLanguageName( const wxLanguageInfo* info ) switch (info->Language) { case wxLANGUAGE_CHINESE: return L"Chinese (Traditional)"; +#if !wxCHECK_VERSION(3, 1, 6) case wxLANGUAGE_CHINESE_TRADITIONAL: return L"Chinese (Traditional)"; +#endif case wxLANGUAGE_CHINESE_TAIWAN: return L"Chinese (Traditional)"; case wxLANGUAGE_CHINESE_HONGKONG: return L"Chinese (Traditional, Hong Kong)"; case wxLANGUAGE_CHINESE_MACAU: return L"Chinese (Traditional, Macau)";