Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
authorRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 23:28:11 +0000 (23:28 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 23:28:11 +0000 (23:28 +0000)
commite0dd12db9955e1e173064bde29943f171c53698f
tree3ca3865ac42fd7cc189de89e414cb9d9d03ba125
parent5a60a58a73e1e724b2449cda6d08135704e9c6eb
Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
new ID for the item using wxNewId().  As a consequence of this, the
value of wxID_SEPARATOR was changed from -1 to -2 in order to not
clash.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/defs.h
include/wx/tbarbase.h
src/common/menucmn.cpp