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:
parent
51c742ddf8
commit
644e896d3f
@ -1616,10 +1616,8 @@ enum wxBackgroundStyle
|
||||
/* Standard menu IDs */
|
||||
enum
|
||||
{
|
||||
#if wxABI_VERSION >= 20602
|
||||
/* no id matches this one when compared to it */
|
||||
wxID_NONE = -3,
|
||||
#endif
|
||||
|
||||
/* id for a separator line in the menu (invalid for normal item) */
|
||||
wxID_SEPARATOR = -2,
|
||||
|
Loading…
Reference in New Issue
Block a user