(svn r12579) -Change: reset cursor when the Plant trees GUI is opened
authorsmatz
Sat, 05 Apr 2008 12:30:48 +0000
changeset 9327 4520e2d84651
parent 9326 326baf219dda
child 9328 a7ad10a9b0cb
(svn r12579) -Change: reset cursor when the Plant trees GUI is opened
src/misc_gui.cpp
--- a/src/misc_gui.cpp	Sat Apr 05 12:01:34 2008 +0000
+++ b/src/misc_gui.cpp	Sat Apr 05 12:30:48 2008 +0000
@@ -337,6 +337,10 @@
 static void BuildTreesWndProc(Window *w, WindowEvent *e)
 {
 	switch (e->event) {
+		case WE_CREATE:
+			ResetObjectToPlace();
+			break;
+
 		case WE_PAINT: {
 			DrawWindowWidgets(w);