src/main_gui.cpp
changeset 7744 a1c9caef2a8d
parent 7714 d2060492ca03
child 7762 03721db0ac1c
equal deleted inserted replaced
7743:01f6ee416857 7744:a1c9caef2a8d
  1698 		}
  1698 		}
  1699 		break;
  1699 		break;
  1700 	}
  1700 	}
  1701 
  1701 
  1702 		case WE_MESSAGE:
  1702 		case WE_MESSAGE:
  1703 			HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 17, 18);
  1703 			if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 17, 18);
  1704 			break;
  1704 			break;
  1705 	}
  1705 	}
  1706 }
  1706 }
  1707 
  1707 
  1708 static const Widget _toolb_normal_widgets[] = {
  1708 static const Widget _toolb_normal_widgets[] = {