summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-16 20:19:32 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-16 20:19:32 (GMT)
commit4f6838d1207225dc01e59d05e337bdf5d86eb771 (patch)
treec8ff5efc34f90e76f3ee5f02ab4ad3c903386a38 /macosx/ttkMacOSXTheme.c
parentfae1b687220c1f7bf9ac63856a5cb354153ebc13 (diff)
downloadtk-4f6838d1207225dc01e59d05e337bdf5d86eb771.zip
tk-4f6838d1207225dc01e59d05e337bdf5d86eb771.tar.gz
tk-4f6838d1207225dc01e59d05e337bdf5d86eb771.tar.bz2
Major fix for HITheme button metrics; thanks to Marc Culler for patch.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 747254c..87ec4c2 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -299,7 +299,7 @@ static void TabElementSize(
void *clientData, void *elementRecord, Tk_Window tkwin,
int *widthPtr, int *heightPtr, Ttk_Padding *paddingPtr)
{
- *heightPtr = kThemeMetricLargeTabHeight;
+ *heightPtr = GetThemeMetric(kThemeMetricLargeTabHeight, heightPtr);
*paddingPtr = Ttk_MakePadding(0, 0, 0, 2);
}