diff options
author | culler <culler> | 2020-05-31 17:25:11 (GMT) |
---|---|---|
committer | culler <culler> | 2020-05-31 17:25:11 (GMT) |
commit | ab5efd62220cf2a97e23b6d0ddcb12fad9a8cfbd (patch) | |
tree | aeed2f80d756358bc2325cab131d1b01d44f8c22 /generic/tkTextDisp.c | |
parent | 4996dd8c53efd46d1b66d080e7c4a7faead1d373 (diff) | |
parent | 4d6ace7f224a40a423390fa6c0bb3c39d4162313 (diff) | |
download | tk-ab5efd62220cf2a97e23b6d0ddcb12fad9a8cfbd.zip tk-ab5efd62220cf2a97e23b6d0ddcb12fad9a8cfbd.tar.gz tk-ab5efd62220cf2a97e23b6d0ddcb12fad9a8cfbd.tar.bz2 |
Rename Aqua stub TkpAppCanDraw as TkpWillDrawWidget
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 88ad4e6..61b0df0 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -22,7 +22,7 @@ #include "tkUnixInt.h" #elif defined(MAC_OSX_TK) #include "tkMacOSXInt.h" -#define OK_TO_LOG (!TkpAppCanDraw(textPtr->tkwin)) +#define OK_TO_LOG (!TkpWillDrawWidget(textPtr->tkwin)) #endif #if !defined(MAC_OSX_TK) @@ -4175,7 +4175,7 @@ DisplayText( * warnings. */ Tcl_Interp *interp; - + if ((textPtr->tkwin == NULL) || (textPtr->flags & DESTROYED)) { /* * The widget has been deleted. Don't do anything. |