summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authorandreask <andreask>2012-10-09 17:40:09 (GMT)
committerandreask <andreask>2012-10-09 17:40:09 (GMT)
commitafb4609b0083b68a9c9dcd5746da25b9ac2e89b5 (patch)
treee7d7ca3ac755154c0a47bc701649384a23c8fec9 /macosx/tkMacOSXSubwindows.c
parentda44d7effe24142164eb4805a249921bc4705bc7 (diff)
downloadtk-afb4609b0083b68a9c9dcd5746da25b9ac2e89b5.zip
tk-afb4609b0083b68a9c9dcd5746da25b9ac2e89b5.tar.gz
tk-afb4609b0083b68a9c9dcd5746da25b9ac2e89b5.tar.bz2
Cherrypick Merge, Backport of [6223d9e067]. Restored from
tk-cocoa-8-5-bacport-branch, did not survive the merge. See trunk 2012-05-29 Donal K. Fellows * generic/tkInt.decls (TkMacOSXDrawable): Added OSX-specific mechanism to allow retrieval of the drawing surface. Allows Canvas3d to be adapted to 8.6.
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 2eb4ee8..7d1a5eb 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -971,6 +971,13 @@ TkMacOSXDrawableWindow(
}
return result;
}
+
+void *
+TkMacOSXDrawable(
+ Drawable drawable)
+{
+ return TkMacOSXDrawableWindow(drawable);
+}
/*
*----------------------------------------------------------------------