# HG changeset patch # User smatz # Date 1207398648 0 # Node ID 4520e2d8465149b7cbc5fa0fc4cf60096d3a4567 # Parent 326baf219ddae33534a7539f625536fc33abf55e (svn r12579) -Change: reset cursor when the Plant trees GUI is opened diff -r 326baf219dda -r 4520e2d84651 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);