void SelectObject(wxBitmap *bitmap)
Selects the given bitmap into the device context, to use as the memory bitmap. Selecting the bitmap into a memory DC allows you to draw into the DC (and therefore the bitmap) and also to use Blit to copy the bitmap to a canvas. For this purpose, you may find wxDC::DrawIcon easier to use instead.