wx: Fix compile on wx 3.1.6

This commit is contained in:
TellowKrinkle 2022-04-10 21:12:45 -05:00 committed by refractionpcsx2
parent f8c7237bba
commit fc7a20dd0f
1 changed files with 2 additions and 0 deletions

View File

@ -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)";