summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.decls
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 /generic/tkInt.decls
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 'generic/tkInt.decls')
-rw-r--r--generic/tkInt.decls8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls
index b5e4d3c..04f7d7d 100644
--- a/generic/tkInt.decls
+++ b/generic/tkInt.decls
@@ -641,6 +641,14 @@ declare 185 {
Tcl_Obj *formatString, int *widthPtr, int *heightPtr)
}
+# Support for aqua's inability to draw outside [NSView drawRect:]
+declare 186 aqua {
+ void TkpRedrawWidget(Tk_Window tkwin)
+}
+declare 187 aqua {
+ int TkpAppCanDraw(Tk_Window tkwin)
+}
+
##############################################################################