wxBitmap::GetDepth

int GetDepth(void)

Gets the colour depth of the bitmap. A value of 1 indicates a monochrome bitmap.