- wxCHECK_RET( !bitmap.GetSelectedInto() ||
- (bitmap.GetSelectedInto() == this),
- wxT("Bitmap is selected in another wxMemoryDC, delete the "
- "first wxMemoryDC or use SelectObject(NULL)") );
+ wxASSERT_MSG( !bitmap.GetSelectedInto() ||
+ (bitmap.GetSelectedInto() == this),
+ wxT("Bitmap is selected in another wxMemoryDC, delete the first wxMemoryDC or use SelectObject(NULL)") );