From 4d3f8bbb9780ea92538b622ba8530f2b56bd6f3c Mon Sep 17 00:00:00 2001 From: alberth Date: Tue, 5 May 2009 20:33:05 +0000 Subject: (svn r16235) -Codechange (r16234): But keep the window description. --- src/network/network_chat_gui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/network') diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index c044bcfca..c0559af65 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -514,6 +514,13 @@ static const NWidgetPart _nested_chat_window_widgets[] = { EndContainer(), }; +static const WindowDesc _chat_window_desc( + WDP_CENTER, -26, 320, 14, 640, 14, // x, y, width, height + WC_SEND_NETWORK_MSG, WC_NONE, + WDF_STD_TOOLTIPS | WDF_DEF_WIDGET, + _chat_window_widgets, _nested_chat_window_widgets, lengthof(_nested_chat_window_widgets) +); + void ShowNetworkChatQueryWindow(DestType type, int dest) { DeleteWindowById(WC_SEND_NETWORK_MSG, 0); -- cgit v1.2.3-70-g09d2