summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.decls
diff options
context:
space:
mode:
authorculler <culler>2020-05-29 18:21:55 (GMT)
committerculler <culler>2020-05-29 18:21:55 (GMT)
commit9ba4c746ec344f1455e03c2f97ca0ae7c95d139f (patch)
treec2f3dab350bf3a9bd83fa139c24f9432b31eac06 /generic/tkInt.decls
parentbd0d1fd4d2137bebd775874b705c061a7e13aa7f (diff)
downloadtk-9ba4c746ec344f1455e03c2f97ca0ae7c95d139f.zip
tk-9ba4c746ec344f1455e03c2f97ca0ae7c95d139f.tar.gz
tk-9ba4c746ec344f1455e03c2f97ca0ae7c95d139f.tar.bz2
Remove some unnecessary macOS conditional code by using internal stubs.
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r--generic/tkInt.decls9
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls
index bb2057b..da591cb 100644
--- a/generic/tkInt.decls
+++ b/generic/tkInt.decls
@@ -634,6 +634,15 @@ declare 184 {
Tk_Font tkfont, const char *source, int numBytes, double x,
double y, double angle)
}
+
+# Support for aqua's inability to draw outside [NSView drawRect:]
+declare 185 aqua {
+ void TkpRedrawWidget(Tk_Window tkwin)
+}
+declare 186 aqua {
+ int TkpAppCanDraw(Tk_Window tkwin)
+}
+
##############################################################################