Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-12 17:27:00 +0000
committerStijn Buys <ingar@osirion.org>2008-10-12 17:27:00 +0000
commit574bf11742c40203a4433c0b69264014b10b5a96 (patch)
tree5fdaa40d22c38e5d8cce47d43a1a892008322598 /src/client/chat.cc
parentb417df720584c101f3799874a0c836a543a8d0a8 (diff)
container widget
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r--src/client/chat.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc
index bdeebe2..87ba437 100644
--- a/src/client/chat.cc
+++ b/src/client/chat.cc
@@ -15,7 +15,7 @@
namespace client {
-Chat::Chat(ui::Widget *parent) : ui::Widget(parent)
+Chat::Chat(ui::Widget *parent) : ui::Window(parent)
{
set_label("chat");
history.clear();
@@ -42,10 +42,7 @@ Chat::~Chat()
void Chat::show()
{
- Widget::show();
-
- raise();
- set_focus();
+ Window::show();
history_pos = history.rbegin();
(*history_pos).clear();