An icon is a small bitmap which can be used to decorate a minimized frame. There are platform-specific ways of creating an icon.
wxIcon height
wxIcon width
wxIcon create
long height
Height of the icon in pixels.
long width
Width of the icon in pixels.
void ( create)
Loads an icon from a file or resource. Under X, the argument must be the filename of a valid XBM (X bitmap) file. Under Windows, the argument must be a icon filename, or the name of an icon resource compiled into the current executable.
Use wxFrame set-icon to set the icon of a frame.
Under X, the permitted icon types in the bitmap-type are:
Under Windows, the permitted types are:
Examples:
; Under X (bind ?icon (make-instance (gensym*) (bitmap-type wxBITMAP_TYPE_XBM) (filename "icon.xbm"))) ; Under Windows (bind ?icon (make-instance (gensym*) (bitmap-type wxBITMAP_TYPE_ICO) (filename "icon.ico")))