wxBitmap::wxBitmap

void wxBitmap(char bits[], int width, int height int depth = 1)

Constructs a (usually monochrome) bitmap from an X bitmap file (XBM).

void wxBitmap(int width, int height int depth = -1)

Constructs a new bitmap. If the final argument is omitted, the display depth of the screen is used.

void wxBitmap(char * icon_name)

Constructs a bitmap by passing a string name. icon_name refers to an XBM filename in X, a resource name in Windows 3.