summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp6
1 files changed, 3 insertions, 3 deletions
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)