Destroy all of a widget's control surfaces
void PtDestroyAllSurfaces( PtWidget_t *widget );
This function destroys all control surfaces of the given widget.
Generally this function is used only internally by the widget library, however you may call it if you wish.
|All surfaces of a widget are automatically destroyed when the widget is destroyed.|
PtCreateActionSurface(), PtCreateSurface(), PtDestroySurface()
Control Surfaces chapter of the Photon Programmer's Guide