X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41d6c8cd750a9ea532ce66350615829c95f6ff2..cec92136b4aaf0d9b779047daeb284eeca3da280:/interface/wx/windowid.h diff --git a/interface/wx/windowid.h b/interface/wx/windowid.h index 58d02cf627..36d4bf2c1b 100644 --- a/interface/wx/windowid.h +++ b/interface/wx/windowid.h @@ -3,9 +3,14 @@ // 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 +19,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 +39,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 +54,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); };