(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint

This commit is contained in:
yexo
2009-07-05 16:50:56 +00:00
parent 0d6bef2171
commit d85adeeca5
3 changed files with 38 additions and 23 deletions

View File

@@ -98,6 +98,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day));
EnginesMonthlyLoop();
SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0));
InvalidateWindowClassesData(WC_BUILD_STATION, 0);
ResetSignalVariant();
return _cur_year;
}