summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorculler <culler>2020-05-29 18:30:28 (GMT)
committerculler <culler>2020-05-29 18:30:28 (GMT)
commit4996dd8c53efd46d1b66d080e7c4a7faead1d373 (patch)
tree0e14390802c437353ff15164830fd8e242a0c535 /unix
parent18fd1bf89685a067ea6ad92d6b1d7f260394ddce (diff)
parent9ba4c746ec344f1455e03c2f97ca0ae7c95d139f (diff)
downloadtk-4996dd8c53efd46d1b66d080e7c4a7faead1d373.zip
tk-4996dd8c53efd46d1b66d080e7c4a7faead1d373.tar.gz
tk-4996dd8c53efd46d1b66d080e7c4a7faead1d373.tar.bz2
Remove some unnecessary macOS conditional code by using internal stubs.
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixPort.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 347c9d8..358a67c 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -149,6 +149,8 @@
#define TkpButtonSetDefaults() {}
#define TkpDestroyButton(butPtr) {}
+#define TkpAppCanDraw(tkwin) 1
+#define TkpRedrawWidget(tkwin)
#define TkSelUpdateClipboard(a,b) {}
#ifndef __CYGWIN__
#define TkSetPixmapColormap(p,c) {}