X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e54266add728b5cf83a4d1b2136ecfca55fdc146..302c73511a6819c5a56269ba95cb18eb11e994f0:/src/common/windowid.cpp diff --git a/src/common/windowid.cpp b/src/common/windowid.cpp index 10e57fa66c..8db065e015 100644 --- 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