// 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
// ---------------
// contains the last id generated by NewControlId
static int ms_lastControlId;
- // no copy ctor/assignment operator
- wxWindowBase(const wxWindowBase&);
- wxWindowBase& operator=(const wxWindowBase&);
-
+ DECLARE_NO_COPY_CLASS(wxWindowBase);
DECLARE_EVENT_TABLE()
};