diff -r c9f7df384405 -r 7957c71b0dfe src/smallmap_gui.cpp --- a/src/smallmap_gui.cpp Sat May 17 12:26:00 2008 +0000 +++ b/src/smallmap_gui.cpp Sat May 17 12:48:06 2008 +0000 @@ -847,7 +847,7 @@ /* draw the window */ SetDParam(0, STR_00E5_CONTOURS + _smallmap_type); - DrawWindowWidgets(this); + this->DrawWidgets(); tbl = _legend_table[_smallmap_type]; @@ -1153,8 +1153,8 @@ /* 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)