src/depot_gui.cpp
changeset 9931 497d35361ad4
parent 9921 4dfac3c48507
child 10056 48659f7d4fa5
equal deleted inserted replaced
9930:8b3ef2774caf 9931:497d35361ad4
  1017 	virtual EventState OnCTRLStateChange()
  1017 	virtual EventState OnCTRLStateChange()
  1018 	{
  1018 	{
  1019 		if (this->sel != INVALID_VEHICLE) {
  1019 		if (this->sel != INVALID_VEHICLE) {
  1020 			_cursor.vehchain = _ctrl_pressed;
  1020 			_cursor.vehchain = _ctrl_pressed;
  1021 			this->InvalidateWidget(DEPOT_WIDGET_MATRIX);
  1021 			this->InvalidateWidget(DEPOT_WIDGET_MATRIX);
  1022 		}
  1022 			return ES_HANDLED;
  1023 
  1023 		}
  1024 		return ES_HANDLED;
  1024 
       
  1025 		return ES_NOT_HANDLED;
  1025 	}
  1026 	}
  1026 };
  1027 };
  1027 
  1028 
  1028 static void DepotSellAllConfirmationCallback(Window *win, bool confirmed)
  1029 static void DepotSellAllConfirmationCallback(Window *win, bool confirmed)
  1029 {
  1030 {