Handle wxLANGUAGE_CAMBODIAN correctly in the generation script.

Fix wxLANGUAGE_CAMBODIAN definition in autogenerated code, this was already
done manually in r76368 but these changes would have been lost after the next
generation, so update the script itself to generate them.

Closes #16183.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-04-20 12:44:57 +00:00
parent 3a4e380ee7
commit 25a8a7e745
3 changed files with 11 additions and 8 deletions

View File

@@ -48,11 +48,12 @@ enum wxLanguage
f.write(' %s,\n' % i[0])
knownLangs.append(i[0])
f.write("""
/// Obsolete synonym.
wxLANGUAGE_CAMBODIAN = wxLANGUAGE_KHMER,
/// For custom, user-defined languages.
wxLANGUAGE_USER_DEFINED
wxLANGUAGE_USER_DEFINED,
/// Obsolete synonym.
wxLANGUAGE_CAMBODIAN = wxLANGUAGE_KHMER
};
""")