From a89b5721a8bff2a601161a1dc456f588c065b0eb 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/smallmap_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index b2e4be10d..0d25b28b5 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -847,7 +847,7 @@ public: /* draw the window */ SetDParam(0, STR_00E5_CONTOURS + _smallmap_type); - DrawWindowWidgets(this); + this->DrawWidgets(); tbl = _legend_table[_smallmap_type]; @@ -1153,8 +1153,8 @@ public: /* set the number in the title bar */ SetDParam(0, this->window_number + 1); - DrawWindowWidgets(this); - DrawWindowViewport(this); + this->DrawWidgets(); + this->DrawViewport(); } virtual void OnClick(Point pt, int widget) -- cgit v1.2.3-54-g00ecf