diff options
-rw-r--r-- | gui/widget.cpp | 2 | ||||
-rw-r--r-- | gui/widget.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 08e485e596..8426f1577f 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -178,7 +178,7 @@ void ButtonWidget::drawWidget(bool hilite) { #pragma mark - CheckboxWidget::CheckboxWidget(GuiObject *boss, int x, int y, int w, int h, const String &label, uint32 cmd, uint8 hotkey, WidgetSize ws) - : ButtonWidget(boss, x, y, w, h, label, cmd, hotkey, ws), _state(false), _ws(ws) { + : ButtonWidget(boss, x, y, w, h, label, cmd, hotkey, ws), _state(false) { _flags = WIDGET_ENABLED; _type = kCheckboxWidget; } diff --git a/gui/widget.h b/gui/widget.h index 430b53457d..eaf7e33b9d 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -187,7 +187,6 @@ protected: class CheckboxWidget : public ButtonWidget { protected: bool _state; - const WidgetSize _ws; public: CheckboxWidget(GuiObject *boss, int x, int y, int w, int h, const String &label, uint32 cmd = 0, uint8 hotkey = 0, WidgetSize ws = kDefaultWidgetSize); |