summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
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 /macosx/tkMacOSXSubwindows.c
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 '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 2933876..8cf8d65 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -969,6 +969,13 @@ TkMacOSXDrawableWindow(
}
return result;
}
+
+void *
+TkMacOSXDrawable(
+ Drawable drawable)
+{
+ return TkMacOSXDrawableWindow(drawable);
+}
/*
*----------------------------------------------------------------------