summaryrefslogtreecommitdiffstats
path: root/win
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 /win
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 'win')
-rw-r--r--win/tkWinPort.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 11ecf21..86f212e 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.h
@@ -129,4 +129,11 @@
#define TkpCreateNativeBitmap(display, source) None
#define TkpGetNativeAppBitmap(display, name, w, h) None
+/*
+ * Other functions not used under Windows
+ */
+
+#define TkpAppCanDraw(tkwin) 1
+#define TkpRedrawWidget(tkwin)
+
#endif /* _WINPORT */