give up on GC blit if DC is in CG mode
svn: r8088
This commit is contained in:
parent
4cd7477c85
commit
8c42e26cde
|
@ -1263,6 +1263,11 @@ Bool wxCanvasDC::GCBlit(double xdest, double ydest, double width, double height,
|
|||
CGrafPtr theMacGrafPort;
|
||||
RgnHandle rgn;
|
||||
|
||||
if (cMacDC->GetCG(TRUE)) {
|
||||
/* The dc is in CG mode. Too bad; just give up. */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
::GetGWorld(&savep, &savegd);
|
||||
|
||||
theMacGrafPort = cMacDC->macGrafPort();
|
||||
|
|
Loading…
Reference in New Issue
Block a user