--- a/src/order_gui.cpp Mon May 05 12:35:38 2008 +0000
+++ b/src/order_gui.cpp Wed May 07 21:09:51 2008 +0000
@@ -1,6 +1,6 @@
/* $Id$ */
-/** @file order_gui.cpp */
+/** @file order_gui.cpp GUI related to orders. */
#include "stdafx.h"
#include "openttd.h"
@@ -30,6 +30,7 @@
#include "textbuf_gui.h"
#include "string_func.h"
#include "depot_base.h"
+#include "tilehighlight_func.h"
#include "table/sprites.h"
#include "table/strings.h"
@@ -799,7 +800,7 @@
/* This was a click on an empty part of the orders window, so
* deselect the currently selected order. */
WP(w, order_d).sel = -1;
- SetWindowDirty(w);
+ w->SetDirty();
return;
}
@@ -831,7 +832,7 @@
}
}
- SetWindowDirty(w);
+ w->SetDirty();
} break;
case ORDER_WIDGET_SKIP: