diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 23:56:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | d59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch) | |
tree | d7186479633c0269573e92b5a5213d04b84b3995 /src/gui/chatwindow.cpp | |
parent | 71d2b482d84246b8456ea863f94a9a766d33f197 (diff) | |
download | mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2 mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip |
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 6 |
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; |