X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e54266add728b5cf83a4d1b2136ecfca55fdc146..a43a9e5521440dbb28037646ed4a07125c8823a9:/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