summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-19 00:49:27 -0500
committerPietro Gagliardi <[email protected]>2014-12-19 00:49:27 -0500
commitee9b9581719f0748183d242eb509b130055fe8db (patch)
treed8098d50abccc88ac1e1ab8877845d34f035bb01
parent866793995d02f25a0cf0c1c7dfd2eb93724cca2c (diff)
Removed unnecessary HTHEME parameter in getFrameControlCheckboxSize().
-rw-r--r--wintable/new/checkboxes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wintable/new/checkboxes.h b/wintable/new/checkboxes.h
index 87c6c9a..1320fa1 100644
--- a/wintable/new/checkboxes.h
+++ b/wintable/new/checkboxes.h
@@ -30,7 +30,7 @@ static void drawFrameControlCheckbox(HDC dc, RECT *r, int cbState)
panic("error drawing Table checkbox image with DrawFrameControl()");
}
-static void getFrameControlCheckboxSize(HDC dc, int *width, int *height, HTHEME theme)
+static void getFrameControlCheckboxSize(HDC dc, int *width, int *height)
{
// there's no real metric around
// let's use SM_CX/YSMICON and hope for the best
@@ -128,7 +128,7 @@ static void loadCheckboxThemeData(struct table *t)
if (t->theme != NULL) // use the theme
getThemeCheckboxSize(dc, &(t->checkboxWidth), &(t->checkboxHeight), t->theme);
else // couldn't open; fall back
- getFrameControlCheckboxSize(dc, &(t->checkboxWidth), &(t->checkboxHeight), t->theme);
+ getFrameControlCheckboxSize(dc, &(t->checkboxWidth), &(t->checkboxHeight));
if (ReleaseDC(t->hwnd, dc) == 0)
panic("error releasing Table DC for loading checkbox theme data");
}