(send a-wx:bitmap save-file name type cmap) -> boolean
name : string
type : small integer
cmap : wx:colour-map% object or null
The type of saved is determined by the type parameter which may be one of:
- wx:const-bitmap-type-xbm -- save an X bitmap file (X Windows, Windows, MacOS)
- wx:const-bitmap-type-xpm -- save an XPM bitmap file (X Windows, Windows, MacOS)
- wx:const-bitmap-type-bmp -- save a Windows bitmap file (Windows)
- wx:const-bitmap-type-pict -- save a PICT bitmap file (MacOS)
If cmap is not null, it may be used when saving the
bitmap. If this parameter is null and there is a colourmap
associated with the bitmap, this internal colourmap may be used
instead.