From d59cd9111c1e86b224ea62cc975c49b157e2b3cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 23:56:04 +0300 Subject: Add to some controls palette inheritance from other controls. --- src/gui/widgets/chattab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/chattab.cpp') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index a0b31d040..63b5f8e05 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -49,8 +49,8 @@ static const unsigned int MAX_WORD_SIZE = 50; -ChatTab::ChatTab(const std::string &name) : - Tab(), +ChatTab::ChatTab(const Widget2 *const widget, const std::string &name) : + Tab(widget), mTextOutput(new BrowserBox(BrowserBox::AUTO_WRAP)), mScrollArea(new ScrollArea(mTextOutput, false)), mAllowHightlight(true), -- cgit v1.2.3-70-g09d2