Contents Up Previous Next

wxObject

wxObject is an 'abstract class' from which other wxCOOL classes are derived.

wxObject dont-create
wxObject id
wxObject pending-delete
wxObject add-event-handlers
wxObject create
wxObject init after


wxObject dont-create

symbol dont-create

Set on creation when it is not desireable for the usual underlying object creation to occur. Specifically, used when creating objects to wrap wxCLIPS integer identifiers for panel items created when loading in a dialog or panel resource. See wx_item.clp, wxPanel handler create-child-objects.


wxObject id

long id

The integer identifier of the underlying wxCLIPS object.


wxObject pending-delete

bool pending-delete

TRUE if the object is about to be deleted (an internal setting to avoid double deletion).


wxObject add-event-handlers

void ( add-event-handlers)

All classes should override (but still call) this handler in order to add callbacks for this instance. The wxObject version adds an OnDelete callback that will be called for all instances.


wxObject create

void ( create)

For wxObject, this is a no-operation that must be redefined by derived classes to perform per-instance initialization.


wxObject init after

void ( init after)

This handler is implemented to call the create handler after the slot initialization phase is complete. create is also defined for wxObject, as an no-operation, and must be redefined by each major subclass to do the construction for the instance.