]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/windowid.cpp
Reorganize wxCollapsiblePane event and layout code under GTK+
[wxWidgets.git] / src / common / windowid.cpp
index 10e57fa66c404bd4289d52d338b97141f059cc24..8db065e0151340dc62e51d886e760b13eea50b7e 100644 (file)
@@ -202,7 +202,7 @@ wxWindowID wxIdManager::ReserveId(int count)
                     while(count--)
                         ReserveIdRefCount(id--);
 
-                    return id;
+                    return id + 1;
                 }
             }
             else