Don't add new enums to the middle of the list to preserve ABI

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-05-26 18:50:17 +00:00
parent 1160c0fd3a
commit 2371f236fe

View File

@@ -236,7 +236,6 @@ enum wxLanguage
wxLANGUAGE_ROMANIAN, wxLANGUAGE_ROMANIAN,
wxLANGUAGE_RUSSIAN, wxLANGUAGE_RUSSIAN,
wxLANGUAGE_RUSSIAN_UKRAINE, wxLANGUAGE_RUSSIAN_UKRAINE,
wxLANGUAGE_SAMI,
wxLANGUAGE_SAMOAN, wxLANGUAGE_SAMOAN,
wxLANGUAGE_SANGHO, wxLANGUAGE_SANGHO,
wxLANGUAGE_SANSKRIT, wxLANGUAGE_SANSKRIT,
@@ -315,11 +314,12 @@ enum wxLanguage
#if wxABI_VERSION >= 20808 #if wxABI_VERSION >= 20808
// for binary compatibility, we can't put wxLANGUAGE_VALENCIAN in its // For binary compatibility, we can't put new items in their normal
// normal position in the enum, because it would change other values. // position in the enum, because it would change other values. We have to
// We have to put it somewhere well outside normal range -- the particular // put it somewhere well outside normal range -- the particular value used
// value used is arbitrary: // is arbitrary:
, wxLANGUAGE_VALENCIAN = 0x1fffffff , wxLANGUAGE_VALENCIAN = 0x1fffffff,
wxLANGUAGE_SAMI
#endif #endif
}; };