X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c6a98048b47cf1dd1926e97f94abe81a3fded1e..a4ea083bbdf710d3234dcbd2eafb5d0e078f8348:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 5cd3d8e3c7..6c597072a9 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 29/01/98 -// RCS-ID: $Id$ // Copyright: (c) 1998 Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -714,9 +713,9 @@ long wxExecute(const wxString& command, // ---------------------------------------------------------------------------- // Id generation -static wxWindowID wxCurrentId = 100; +static int wxCurrentId = 100; -wxWindowID wxNewId() +int wxNewId() { // skip the part of IDs space that contains hard-coded values: if (wxCurrentId == wxID_LOWEST) @@ -725,11 +724,11 @@ wxWindowID wxNewId() return wxCurrentId++; } -wxWindowID +int wxGetCurrentId(void) { return wxCurrentId; } void -wxRegisterId (wxWindowID id) +wxRegisterId (int id) { if (id >= wxCurrentId) wxCurrentId = id + 1;