My frame vetoes the close event, but the frame is destroyed because the wxCloseEvent is also handled by wxTopLevelWindowBase. Is there a way to avoid this? Franky.