From 54490523d943128d539ee6b2c0fe3f84e525fd94 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Fri, 18 Apr 2014 22:40:10 +0000 Subject: [PATCH] Fixed wxLANGUAGE_USER_DEFINED, which is supposed to be the last element of the enum, but as such must still be given, before messing with the automatic internal counter of enum by defining synonyms. Fixes #16183. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/language.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/language.h b/include/wx/language.h index 30b3612809..1a5aebc2b5 100644 --- a/include/wx/language.h +++ b/include/wx/language.h @@ -271,11 +271,11 @@ enum wxLanguage wxLANGUAGE_ZHUANG, wxLANGUAGE_ZULU, - /// Obsolete synonym. - wxLANGUAGE_CAMBODIAN = wxLANGUAGE_KHMER, - /// For custom, user-defined languages. - wxLANGUAGE_USER_DEFINED + wxLANGUAGE_USER_DEFINED, + + /// Obsolete synonym. + wxLANGUAGE_CAMBODIAN = wxLANGUAGE_KHMER }; // --- --- --- generated code ends here --- --- ---