diff options
Diffstat (limited to 'tk8.6/macosx/tkMacOSXDraw.c')
-rw-r--r-- | tk8.6/macosx/tkMacOSXDraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tk8.6/macosx/tkMacOSXDraw.c b/tk8.6/macosx/tkMacOSXDraw.c index 984e2e5..3c2c802 100644 --- a/tk8.6/macosx/tkMacOSXDraw.c +++ b/tk8.6/macosx/tkMacOSXDraw.c @@ -192,7 +192,7 @@ TkMacOSXBitmapRepFromDrawableRect( * display and return NULL. */ - if (view == [NSView focusView]) { + if (view == [NSView focusView] || 1) { bitmap_rep = [view bitmapImageRepForCachingDisplayInRect: view_rect]; [bitmap_rep retain]; [view cacheDisplayInRect:view_rect toBitmapImageRep:bitmap_rep]; |