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:
@@ -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
|
||||
};
|
||||
|
||||
""")
|
||||
|
Reference in New Issue
Block a user