::wxGetThingFromTable

wxObject * wxGetThingFromTable(long item_id, int *type)

A lower-level function than wxGetTypedObject, which does not generate an error message. Retrieves the object from the table, and returns the type of the object in the second argument.