src/network/network_gui.cpp
changeset 7931 b0a46cd92225
parent 7929 6c9b25842b0f
child 7959 e0476faea1e2
equal deleted inserted replaced
7930:f12c2437a050 7931:b0a46cd92225
  1684 static void ChatWindowWndProc(Window *w, WindowEvent *e)
  1684 static void ChatWindowWndProc(Window *w, WindowEvent *e)
  1685 {
  1685 {
  1686 	switch (e->event) {
  1686 	switch (e->event) {
  1687 	case WE_CREATE:
  1687 	case WE_CREATE:
  1688 		SendWindowMessage(WC_NEWS_WINDOW, 0, WE_CREATE, w->height, 0);
  1688 		SendWindowMessage(WC_NEWS_WINDOW, 0, WE_CREATE, w->height, 0);
  1689 		SETBIT(_no_scroll, SCROLL_CHAT); // do not scroll the game with the arrow-keys
  1689 		SetBit(_no_scroll, SCROLL_CHAT); // do not scroll the game with the arrow-keys
  1690 		break;
  1690 		break;
  1691 
  1691 
  1692 	case WE_PAINT: {
  1692 	case WE_PAINT: {
  1693 		static const StringID chat_captions[] = {
  1693 		static const StringID chat_captions[] = {
  1694 			STR_NETWORK_CHAT_ALL_CAPTION,
  1694 			STR_NETWORK_CHAT_ALL_CAPTION,