diff options
author | Max Horn | 2005-05-18 10:30:52 +0000 |
---|---|---|
committer | Max Horn | 2005-05-18 10:30:52 +0000 |
commit | 81287495e954c17aa864416a26c08e0ab2753c76 (patch) | |
tree | e822da953ebaf29896f1864952e729427f96ce24 | |
parent | 4c9761592a1b5a2958d778b3a5327ba2309f6bfb (diff) | |
download | scummvm-rg350-81287495e954c17aa864416a26c08e0ab2753c76.tar.gz scummvm-rg350-81287495e954c17aa864416a26c08e0ab2753c76.tar.bz2 scummvm-rg350-81287495e954c17aa864416a26c08e0ab2753c76.zip |
Remove duplicate _ws member
svn-id: r18164
-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); |