]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
I was stupid enough to reorganise the way font changes get stored and applied,
[wxWidgets.git] / include / wx / window.h
index 6062504215e3208ffdaf93c9b294e8cbd96dce3f..78b1fd342a0e19c451df94de50f60093d9c6ec00 100644 (file)
@@ -170,7 +170,7 @@ public:
 
         // generate a control id for the controls which were not given one by
         // user
-    static int NewControlId() { return ++ms_lastControlId; }
+    static int NewControlId() { return --ms_lastControlId; }
 
     // moving/resizing
     // ---------------