summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 6b1aff6..ce098f4 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -555,8 +555,10 @@ static void SolidFillRoundedRectangle(
CGContextSetFillColorWithColor(context, CGCOLOR(color));
CGContextBeginPath(context);
CGContextAddPath(context, path);
+#ifdef TK_MAC_DEBUG_CG
fprintf(stderr, "Filling rounded rectangle at %s\n",
NSStringFromRect(bounds).UTF8String);
+#endif
CGContextFillPath(context);
CFRelease(path);
}