summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 07:12:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 07:12:31 (GMT)
commit35720db1d661f7697792d72d75dbdd519c7f20b1 (patch)
treeee09125b330b284ffbca8b2ff548977d57842207 /macosx/tkMacOSXPrivate.h
parent5eb1ee14861ec921faf373ca991b67cc770a4f4e (diff)
downloadtk-35720db1d661f7697792d72d75dbdd519c7f20b1.zip
tk-35720db1d661f7697792d72d75dbdd519c7f20b1.tar.gz
tk-35720db1d661f7697792d72d75dbdd519c7f20b1.tar.bz2
More tweaks, (mainly TkMacOSXGetCGContextForDrawable <-> TkMacOSXCGContext)
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index e1ace4d..2c7546e 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -244,8 +244,8 @@ MODULE_SCOPE OSStatus TkMacOSHIShapeUnion(HIShapeRef inShape1,
(NSWindow *)TkMacOSXDrawable(drawable)
#define TkMacOSXContentView(drawable) \
(TKContentView *)TkMacOSXGetRootControl(drawable)
-#define TkMacOSXGetCGContextForDrawable(drawable) \
- (CGContextRef)TkMacOSXCGContext(drawable)
+#define TkMacOSXCGContext(drawable) \
+ (CGContextRef)TkMacOSXGetCGContextForDrawable(drawable)
MODULE_SCOPE void * TkMacOSXGetNamedSymbol(const char *module,
const char *symbol);