summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCanvas.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 8ebe9ba..14fe1ab 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -2101,19 +2101,6 @@ DisplayCanvas(
goto done;
}
-#ifdef MAC_OSX_TK
- /*
- * If drawing is disabled, all we need to do is
- * clear the REDRAW_PENDING flag.
- */
- TkWindow *winPtr = (TkWindow *)(canvasPtr->tkwin);
- MacDrawable *macWin = winPtr->privatePtr;
- if (macWin && (macWin->flags & TK_DO_NOT_DRAW)){
- canvasPtr->flags &= ~REDRAW_PENDING;
- return;
- }
-#endif
-
/*
* Choose a new current item if that is needed (this could cause event
* handlers to be invoked).