X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41d6c8cd750a9ea532ce66350615829c95f6ff2..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/windowid.h diff --git a/interface/wx/windowid.h b/interface/wx/windowid.h index 58d02cf627..024e10c690 100644 --- a/interface/wx/windowid.h +++ b/interface/wx/windowid.h @@ -2,10 +2,14 @@ // 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 @@ -14,7 +18,7 @@ and can also be used be used directly. @library{wxcore} - @category{misc} + @category{cfg} @see wxWindow::NewControlId(), wxWindow::UnreserveControlId(), @ref overview_windowids @@ -34,7 +38,7 @@ public: @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 @@ -49,6 +53,6 @@ public: @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); };