summaryrefslogtreecommitdiff
path: root/src/gui/checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/checkbox.cpp')
-rw-r--r--src/gui/checkbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/checkbox.cpp b/src/gui/checkbox.cpp
index fab4780c..5b300d33 100644
--- a/src/gui/checkbox.cpp
+++ b/src/gui/checkbox.cpp
@@ -34,8 +34,8 @@ Image *CheckBox::checkBoxChecked;
Image *CheckBox::checkBoxDisabled;
Image *CheckBox::checkBoxDisabledChecked;
-CheckBox::CheckBox(const std::string& caption, bool marked):
- gcn::CheckBox(caption, marked)
+CheckBox::CheckBox(const std::string& caption, bool selected):
+ gcn::CheckBox(caption, selected)
{
if (instances == 0)
{
@@ -68,7 +68,7 @@ void CheckBox::drawBox(gcn::Graphics* graphics)
{
Image *box;
- if (mMarked) {
+ if (isSelected()) {
if (isEnabled()) {
box = checkBoxChecked;
} else {