Maybe negative wxWindowId are better than just -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
// ---------------
|
||||
|
Reference in New Issue
Block a user