// Author: Julian Smart
// Modified by:
// Created: 29/01/98
-// RCS-ID: $Id$
// Copyright: (c) 1998 Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------
// 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)
return wxCurrentId++;
}
-wxWindowID
+int
wxGetCurrentId(void) { return wxCurrentId; }
void
-wxRegisterId (wxWindowID id)
+wxRegisterId (int id)
{
if (id >= wxCurrentId)
wxCurrentId = id + 1;