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/chatwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/chatwindow.cpp') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index b32ff190f..5da35efaf 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -160,12 +160,12 @@ ChatWindow::ChatWindow(): gcn::ActionListener(), gcn::KeyListener(), mItemLinkHandler(new ItemLinkHandler), - mChatTabs(new TabbedArea), + mChatTabs(new TabbedArea(this)), mChatInput(new ChatInput(this, mChatTabs)), mTmpVisible(false), mReturnToggles(config.getBoolValue("ReturnToggles")), mColorListModel(new ColorListModel), - mColorPicker(new DropDown(mColorListModel)), + mColorPicker(new DropDown(this, mColorListModel)), mChatColor(config.getIntValue("chatColor")), mChatHistoryIndex(0), mGMLoaded(false), @@ -1126,7 +1126,7 @@ WhisperTab *ChatWindow::addWhisperTab(const std::string &nick, } else { - ret = new WhisperTab(nick); + ret = new WhisperTab(this, nick); if (gui && !player_relations.isGoodName(nick)) ret->setLabelFont(gui->getSecureFont()); mWhispers[tempNick] = ret; -- cgit v1.2.3-60-g2f50