Loads a bitmap from a file or resource. If the bitmap is in use by a wx:memory-dc% object or a control, the bitmap file is not loaded.
The meaning of name is determined by the flags parameter. The flags argument can be a bitwise-ior combination of wx:const-bitmap-discard-colourmap (meaning the colourmap read, if any, should be thrown away) or 0 and one of:
A colourmap may be associated with the bitmap if one exists (especially for colour Windows bitmaps), and if the code supports it. You can check if one has been created by using the get-colour-map member.