From 84499779fcf0c8b5392a88f1c9311775e692ebef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Sep 2012 02:54:44 +0300 Subject: Improve a bit some gui controls speed. --- src/guichan/widget.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/guichan/widget.cpp') diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp index 8b68b8510..87d6fb635 100644 --- a/src/guichan/widget.cpp +++ b/src/guichan/widget.cpp @@ -304,14 +304,6 @@ namespace gcn mVisible = visible; } - bool Widget::isVisible() const - { - if (!mParent) - return mVisible; - else - return mVisible && mParent->isVisible(); - } - void Widget::setBaseColor(const Color& color) { mBaseColor = color; -- cgit v1.2.3-70-g09d2