src/autoreplace_gui.cpp
branchcpp_gui
changeset 6241 6a7a41b0cd32
parent 6235 5077e6ed3788
child 6246 2a4c2c4d66f0
--- a/src/autoreplace_gui.cpp	Tue Feb 13 10:27:18 2007 +0000
+++ b/src/autoreplace_gui.cpp	Tue Feb 13 11:09:58 2007 +0000
@@ -264,7 +264,7 @@
 			w->widget[13].color = _player_colors[_local_player]; // sets the colour of that art thing
 			w->widget[16].color = _player_colors[_local_player]; // sets the colour of that art thing
 
-			DrawWindowWidgets(w);
+			w->DrawWidgets();
 
 
 			if (w->window_number == VEH_Train) {
@@ -316,7 +316,7 @@
 
 				case 14:
 				case 15: /* Railtype selection dropdown menu */
-					ShowDropDownMenu(w, _rail_types_list, _railtype_selected_in_replace_gui, 15, 0, ~GetPlayer(_local_player)->avail_railtypes);
+					w->ShowDropDownMenu(_rail_types_list, _railtype_selected_in_replace_gui, 15, 0, ~GetPlayer(_local_player)->avail_railtypes);
 					break;
 
 				case 17: /* toggle renew_keep_length */