summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index ab1227b08..8424c5c0e 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -112,7 +112,7 @@ CheckBox::CheckBox(const Widget2 *const widget,
addMouseListener(this);
addKeyListener(this);
- mForegroundColor2 = getThemeColor(ThemeColorId::CHECKBOX_OUTLINE);
+ mForegroundColor2 = getThemeColor(ThemeColorId::CHECKBOX_OUTLINE, 255U);
if (instances == 0)
{
if (theme != nullptr)
@@ -130,7 +130,7 @@ CheckBox::CheckBox(const Widget2 *const widget,
if (listener != nullptr)
addActionListener(listener);
- mForegroundColor = getThemeColor(ThemeColorId::CHECKBOX);
+ mForegroundColor = getThemeColor(ThemeColorId::CHECKBOX, 255U);
if (mSkin != nullptr)
{
mPadding = mSkin->getPadding();