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)
commit34503c379176b9ccdae64491677af2d05d07fad3 (patch)
tree5f8696828dd980e8c20a6717ee7ebf370cc25b42 /macosx
parent7f4870654825831b4547a63422ede867f6d60f00 (diff)
downloadtk-34503c379176b9ccdae64491677af2d05d07fad3.zip
tk-34503c379176b9ccdae64491677af2d05d07fad3.tar.gz
tk-34503c379176b9ccdae64491677af2d05d07fad3.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);
+}
/*
*----------------------------------------------------------------------