summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 23:56:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitd59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch)
treed7186479633c0269573e92b5a5213d04b84b3995 /src/gui/chatwindow.cpp
parent71d2b482d84246b8456ea863f94a9a766d33f197 (diff)
downloadplus-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz
plus-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2
plus-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz
plus-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp6
1 files changed, 3 insertions, 3 deletions
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;