Miscellaneous

::NewId

longNewId

Generates an integer identifier unique to this run of the program.

::RegisterId

voidRegisterIdlong id

Ensures that ids subsequently generated by NewId do not clash with the given id.

::wxDisplaySize

voidwxDisplaySizeint *width, int *height

Gets the physical size of the display in pixels.

::wxGetElapsedTime

longwxGetElapsedTime

Gets the time in milliseconds since the last wxGetElapsedTime or wxStartTimer.

::wxSleep

voidwxSleepint secs

Under X, sleeps for the specified number of seconds using the technique specified in the XView manual, not UNIX sleep.

::wxStartTimer

voidwxStartTimer

Starts a stopwatch; use wxGetElapsedTime to get the elapsed time.

::wxYield

voidwxYield

Yields control to other applications (has no effect under XView or Motif).

::wxExecute

voidwxExecutechar *command

Executes a command in UNIX or Windows. Note that under Windows, the function immediately returns, whereas under UNIX, it does returns only after the command has finished executing, unless the command is executed in the background (append an ampersand).