added logic to manage automatically allocated ids in-use status to avoid clashes for long-running programs (modified patch 1800016, incidentally fixes bug 1832620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1772,6 +1772,13 @@ enum wxKeyType
|
||||
/* Standard menu IDs */
|
||||
enum
|
||||
{
|
||||
/*
|
||||
These ids delimit the range used by automatically-generated ids
|
||||
(i.e. those used when wxID_ANY is specified during construction).
|
||||
*/
|
||||
wxID_AUTO_LOWEST = -32000,
|
||||
wxID_AUTO_HIGHEST = -2000,
|
||||
|
||||
/* no id matches this one when compared to it */
|
||||
wxID_NONE = -3,
|
||||
|
||||
|
Reference in New Issue
Block a user