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:
Vadim Zeitlin
2008-10-03 15:30:41 +00:00
parent 73d28bdf3b
commit e9d2b75fb5

View File

@@ -202,7 +202,7 @@ wxWindowID wxIdManager::ReserveId(int count)
while(count--) while(count--)
ReserveIdRefCount(id--); ReserveIdRefCount(id--);
return id; return id + 1;
} }
} }
else else