summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorandreask <andreask>2012-10-09 17:40:09 (GMT)
committerandreask <andreask>2012-10-09 17:40:09 (GMT)
commit9f45999a7ce0b26eaa1d5a9dcdd94317b16392f8 (patch)
treee7d7ca3ac755154c0a47bc701649384a23c8fec9 /macosx
parent6f8d8caf039e1561659d4df6766d9b56428ccc94 (diff)
downloadtk-9f45999a7ce0b26eaa1d5a9dcdd94317b16392f8.zip
tk-9f45999a7ce0b26eaa1d5a9dcdd94317b16392f8.tar.gz
tk-9f45999a7ce0b26eaa1d5a9dcdd94317b16392f8.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')
-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);
+}
/*
*----------------------------------------------------------------------