void textEntryDestroyImpl(widget *self) { // Free the text buffer free(TEXT_ENTRY(self)->text); // Call our parents destructor widgetDestroyImpl(self); }
void tableDestroyImpl(widget *self) { // Destroy child positional info vectorMapAndDestroy(TABLE(self)->childPositions, free); // Call our parents destructor widgetDestroyImpl(self); }
void spacerDestroyImpl(widget *self) { // Call our parents destructor widgetDestroyImpl(self); }
void buttonDestroyImpl(widget *self) { // Call our parents destructor widgetDestroyImpl(self); }