don't take wxID_NONE inside #if wxABI_VERSION check: it's (going to be) used inside the library itself and, anyhow, there is no harm in letting even the user code compiled with lower than current wxABI_VERSION to see it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1616,10 +1616,8 @@ enum wxBackgroundStyle
|
|||||||
/* Standard menu IDs */
|
/* Standard menu IDs */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
#if wxABI_VERSION >= 20602
|
|
||||||
/* no id matches this one when compared to it */
|
/* no id matches this one when compared to it */
|
||||||
wxID_NONE = -3,
|
wxID_NONE = -3,
|
||||||
#endif
|
|
||||||
|
|
||||||
/* id for a separator line in the menu (invalid for normal item) */
|
/* id for a separator line in the menu (invalid for normal item) */
|
||||||
wxID_SEPARATOR = -2,
|
wxID_SEPARATOR = -2,
|
||||||
|
Reference in New Issue
Block a user