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