-#if 0
- // Not sure if we need this. The mask should leave the masked areas as per
- // the original background of this DC.
- if (useMask)
- {
- // There might be transparent areas, so make these the same colour as this
- // DC
- memDC.SetBackground(* GetBackground());
- memDC.Clear();
- }
-#endif // 0
-
- Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), &memDC, 0, 0, wxCOPY, useMask);