fix bug in bitmap-dc% set-bitmap related non-QuickDraw drawing
svn: r8506
This commit is contained in:
parent
53665849dd
commit
19d70bd5ee
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user