fix off by one byg in ReserveId() (closes #10020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
73d28bdf3b
commit
e9d2b75fb5
@ -202,7 +202,7 @@ wxWindowID wxIdManager::ReserveId(int count)
|
||||
while(count--)
|
||||
ReserveIdRefCount(id--);
|
||||
|
||||
return id;
|
||||
return id + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user