diff options
author | culler <culler> | 2021-04-22 19:21:00 (GMT) |
---|---|---|
committer | culler <culler> | 2021-04-22 19:21:00 (GMT) |
commit | 64594c2a80336e1a00dc711942a4ed5fb5dd0e98 (patch) | |
tree | 940f650a5f909dfccab13aaa73493e8e25e7ded2 /macosx | |
parent | 019923f12e5ac43053840de0701390146ae57907 (diff) | |
download | tk-64594c2a80336e1a00dc711942a4ed5fb5dd0e98.zip tk-64594c2a80336e1a00dc711942a4ed5fb5dd0e98.tar.gz tk-64594c2a80336e1a00dc711942a4ed5fb5dd0e98.tar.bz2 |
Make debug printing conditional in ttkMacOSXTheme.c
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 2 |
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); } |