From d5805cba69b70d1b12857472739290c5cba90768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 29 Feb 2008 15:12:57 +0000 Subject: [PATCH] fixed addition of wxLANGUAGE_VALENCIAN to be binary compatible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/intl.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/wx/intl.h b/include/wx/intl.h index e746fd54c4..367c4108c6 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -299,7 +299,6 @@ enum wxLanguage wxLANGUAGE_UZBEK, wxLANGUAGE_UZBEK_CYRILLIC, wxLANGUAGE_UZBEK_LATIN, - wxLANGUAGE_VALENCIAN, wxLANGUAGE_VIETNAMESE, wxLANGUAGE_VOLAPUK, wxLANGUAGE_WELSH, @@ -312,6 +311,15 @@ enum wxLanguage // for custom, user-defined languages: wxLANGUAGE_USER_DEFINED + + +#if wxABI_VERSION >= 20808 + // for binary compatibility, we can't put wxLANGUAGE_VALENCIAN in its + // normal position in the enum, because it would change other values. + // We have to put it somewhere well outside normal range -- the particular + // value used is arbitrary: + , wxLANGUAGE_VALENCIAN = 0x1fffffff +#endif }; // --- --- --- generated code ends here --- --- ---