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:
@@ -202,7 +202,7 @@ wxWindowID wxIdManager::ReserveId(int count)
|
|||||||
while(count--)
|
while(count--)
|
||||||
ReserveIdRefCount(id--);
|
ReserveIdRefCount(id--);
|
||||||
|
|
||||||
return id;
|
return id + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user