Don't assert in wxLocale::IsAvailable() if language is not supported.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Feb 2012 23:49:39 +0000 (23:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Feb 2012 23:49:39 +0000 (23:49 +0000)
commit0f4bf6ac80113f346d4fdfdd2e5ae82c6e8a6465
treed0c1d6068e05e7cfcebee4e3510331b37cf2c401
parent7c9b6c91116553da4546c1407e1c6dbc44c7f1b6
Don't assert in wxLocale::IsAvailable() if language is not supported.

We can fail to find language information if we're called with
wxLANGUAGE_DEFAULT and we don't support the current system language.

Closes #14039.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/intl.cpp