projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d28bd
)
fix off by one byg in ReserveId() (closes #10020)
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 3 Oct 2008 15:30:41 +0000
(15:30 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 3 Oct 2008 15:30:41 +0000
(15:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56057
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/windowid.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/windowid.cpp
b/src/common/windowid.cpp
index 10e57fa66c404bd4289d52d338b97141f059cc24..8db065e0151340dc62e51d886e760b13eea50b7e 100644
(file)
--- a/
src/common/windowid.cpp
+++ b/
src/common/windowid.cpp
@@
-202,7
+202,7
@@
wxWindowID wxIdManager::ReserveId(int count)
while(count--)
ReserveIdRefCount(id--);
- return id;
+ return id
+ 1
;
}
}
else