This function will be called when the Clear item of the Edit menu is selected by the user. If you are working with frames that have wx:media-edit% objects in them, see do-edit.