src/newgrf_gui.cpp
changeset 10595 7957c71b0dfe
parent 10529 a4d6b2fe51e3
child 10641 13148f508e6d
--- a/src/newgrf_gui.cpp	Sat May 17 12:26:00 2008 +0000
+++ b/src/newgrf_gui.cpp	Sat May 17 12:48:06 2008 +0000
@@ -150,7 +150,7 @@
 		SetVScrollCount(this, n);
 
 		this->SetWidgetDisabledState(ANGRFW_ADD, this->sel == NULL || this->sel->IsOpenTTDBaseGRF());
-		DrawWindowWidgets(this);
+		this->DrawWidgets();
 
 		GfxFillRect(wl->left + 1, wl->top + 1, wl->right, wl->bottom, 0xD7);
 
@@ -345,7 +345,7 @@
 			if (this->sel->IsOpenTTDBaseGRF()) this->DisableWidget(SNGRFS_REMOVE);
 		}
 
-		DrawWindowWidgets(this);
+		this->DrawWidgets();
 
 		/* Draw NewGRF list */
 		int y = this->widget[SNGRFS_FILE_LIST].top;