summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorculler <culler>2019-05-21 18:29:39 (GMT)
committerculler <culler>2019-05-21 18:29:39 (GMT)
commit98be79b4923b0a5ad357ec4aea70ba4e96317ef7 (patch)
treef5f492e1002efd196b35f0411275293d9092088f /generic/tkTest.c
parente6a53ee519d926aee00a2a2d3288878f59fe4cac (diff)
downloadtk-98be79b4923b0a5ad357ec4aea70ba4e96317ef7.zip
tk-98be79b4923b0a5ad357ec4aea70ba4e96317ef7.tar.gz
tk-98be79b4923b0a5ad357ec4aea70ba4e96317ef7.tar.bz2
On OSX 10.13 and earlier a different strategy is needed.
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 1303593..c1377d1 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -31,9 +31,9 @@
#if defined(MAC_OSX_TK)
#include "tkMacOSXInt.h"
#include "tkScrollbar.h"
-#define APP_IS_DRAWING TkTestAppIsDrawing()
+#define LOG_DISPLAY TkTestLogDisplay()
#else
-#define APP_IS_DRAWING 1
+#define LOG_DISPLAY 1
#endif
#ifdef __UNIX__
@@ -1581,7 +1581,7 @@ ImageDisplay(
* not just the changed portion. Tests must account for this.
*/
- if (APP_IS_DRAWING) {
+ if (LOG_DISPLAY) {
sprintf(buffer, "%s display %d %d %d %d",
instPtr->masterPtr->imageName, imageX, imageY, width, height);
Tcl_SetVar2(instPtr->masterPtr->interp, instPtr->masterPtr->varName,