src/order_gui.cpp
changeset 9116 f2491d3c321b
parent 9111 48ce04029fe4
child 9127 14f21c5954ee
--- a/src/order_gui.cpp	Tue May 06 21:28:30 2008 +0000
+++ b/src/order_gui.cpp	Tue May 06 22:08:18 2008 +0000
@@ -799,7 +799,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 +831,7 @@
 						}
 					}
 
-					SetWindowDirty(w);
+					w->SetDirty();
 				} break;
 
 				case ORDER_WIDGET_SKIP: