Remove duplicate _ws member

svn-id: r18164
This commit is contained in:
Max Horn 2005-05-18 10:30:52 +00:00
parent 4c9761592a
commit 81287495e9
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);