::wxRegisterEventClass

void wxRegisterEventClass(WXTYPE eventClassId,WXTYPE superClassId, wxEventConstructor constructor, char *description)

Register a new event class (derived from wxEvent), giving the new event class type, its superclass, a function for creating a new event object of this class, and an optional description.