X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1c063b90f4d09656f7b9b42dbad8e8f59c752b5..cc4d5638c66a409e421420ed7110917755a66788:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index f5ba00045b..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 long wxCurrentId = 100; +static int wxCurrentId = 100; -long wxNewId() +int wxNewId() { // skip the part of IDs space that contains hard-coded values: if (wxCurrentId == wxID_LOWEST) @@ -725,11 +724,11 @@ long wxNewId() return wxCurrentId++; } -long +int wxGetCurrentId(void) { return wxCurrentId; } void -wxRegisterId (long id) +wxRegisterId (int id) { if (id >= wxCurrentId) wxCurrentId = id + 1;