summaryrefslogtreecommitdiffstats
path: root/carbon
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-29 14:57:44 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-29 14:57:44 (GMT)
commitda68cb938e2bec4280883c4052906b9811aadf7c (patch)
treed5339e880aa30941f4823b36606c7e1b7e484770 /carbon
parentc9b81d88741dc175b61b47fd0086e96ad479dcb5 (diff)
downloadtk-da68cb938e2bec4280883c4052906b9811aadf7c.zip
tk-da68cb938e2bec4280883c4052906b9811aadf7c.tar.gz
tk-da68cb938e2bec4280883c4052906b9811aadf7c.tar.bz2
Added OSX-specific mechanism to allow retrieval of the drawing surface.
Diffstat (limited to 'carbon')
-rw-r--r--carbon/tkMacOSXSubwindows.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/carbon/tkMacOSXSubwindows.c b/carbon/tkMacOSXSubwindows.c
index 23e73ff..437906f 100644
--- a/carbon/tkMacOSXSubwindows.c
+++ b/carbon/tkMacOSXSubwindows.c
@@ -1051,6 +1051,13 @@ TkMacOSXDrawableWindow(
}
return result;
}
+
+void *
+TkMacOSXDrawable(
+ Drawable drawable)
+{
+ return TkMacOSXDrawableWindow(drawable);
+}
/*
*----------------------------------------------------------------------