Frame

A frame is a window containing text, canvas or panel subwindows. It normally has decorations added by the window manager, such as a system menu, a thick frame, and resize handles. When a wxWindows or wxCLIPS application initializes, a top-level frame must be returned to the system for successful start-up. When a top-level frame and all its children are deleted, the application terminates.

Usually an application will need to register an OnClose handler in case the window manager sends the application a close message. If the handler returns 1, the frame is deleted by the system (possibly terminating the application).

The following callbacks are valid for the frame class:

OnClose, OnMenuCommand, OnSize.

See window-add-callback for details.

frame-create

frame-create-status-line

frame-iconize

frame-set-menu-bar

frame-set-icon

frame-set-status-text