// Name: windowid.h
// Purpose: interface of wxIdManager
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+/**
+ The type of unique identifiers (ID) used for wxWindow-derived classes.
+*/
+typedef int wxWindowID;
+
/**
@class wxIdManager
and can also be used be used directly.
@library{wxcore}
- @category{misc}
+ @category{cfg}
@see wxWindow::NewControlId(), wxWindow::UnreserveControlId(),
@ref overview_windowids
@return The value of the first ID in the sequence, or wxID_NONE.
*/
- static wxWindowID ReserveControlId(int count = 1);
+ static wxWindowID ReserveId(int count = 1);
/**
Called directly by wxWindow::UnreserveControlId(), this function will
@return The value of the first ID in the sequence, or wxID_NONE.
*/
- static wxWindowID UnreserveControlId(wxWindowID id, int count = 1);
+ static void UnreserveId(wxWindowID id, int count = 1);
};