fix bug in bitmap-dc% set-bitmap related non-QuickDraw drawing

svn: r8506
This commit is contained in:
Matthew Flatt 2008-02-02 14:43:45 +00:00
parent 53665849dd
commit 19d70bd5ee

View File

@ -74,6 +74,7 @@ void wxMemoryDC::SelectObject(wxBitmap *bitmap)
} }
if (cMacDC) { if (cMacDC) {
cMacDC->EndCG();
DELETE_OBJ cMacDC; DELETE_OBJ cMacDC;
cMacDC = NULL; cMacDC = NULL;
} }