- // the background mode is only used for text background and is set in
- // DrawText() to OPAQUE as required, otherwise always TRANSPARENT
- ::SetBkMode( GetHdc(), TRANSPARENT );
+ // the background mode is only used for text background and is set in
+ // DrawText() to OPAQUE as required, otherwise always TRANSPARENT
+ ::SetBkMode( GetHdc(), TRANSPARENT );
+ }
// check for whether the bitmap is already selected into a device context
wxCHECK_RET( !bitmap.GetSelectedInto() ||
(bitmap.GetSelectedInto() == this),
// check for whether the bitmap is already selected into a device context
wxCHECK_RET( !bitmap.GetSelectedInto() ||
(bitmap.GetSelectedInto() == this),
- wxT("Bitmap is selected in another wxMemoryDC, delete the "
- "first wxMemoryDC or use SelectObject(NULL)") );
+ wxT("Bitmap is selected in another wxMemoryDC, delete the first wxMemoryDC or use SelectObject(NULL)") );