bool wb_destroy_control(int control)
Destroys a control created by wb_create_control().
Returns
TRUE on success or FALSE if an error occurs.
It is often preferable to hide a control instead of destroying it. To hide a window, use wb_set_visible() with parameter visible set to FALSE.