From 8b5421290027ab67cba25225111e3561ddd7af07 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 17 May 2008 12:48:06 +0000 Subject: (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. --- src/terraform_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/terraform_gui.cpp') diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index 692c7cc57..c24d85c6a 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -236,7 +236,7 @@ static void TerraformToolbWndProc(Window *w, WindowEvent *e) { switch (e->event) { case WE_PAINT: - DrawWindowWidgets(w); + w->DrawWidgets(); break; case WE_CLICK: @@ -578,7 +578,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e) break; case WE_PAINT: { - DrawWindowWidgets(w); + w->DrawWidgets(); int n = _terraform_size * _terraform_size; const int8 *coords = &_multi_terraform_coords[0][0]; -- cgit v1.2.3-54-g00ecf