diff options
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 2d7f0f0b6..7333f8051 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -69,7 +69,7 @@ static void BuildAirToolbWndProc(Window *w, WindowEvent *e) { switch (e->event) { case WE_PAINT: - DrawWindowWidgets(w); + w->DrawWidgets(); break; case WE_CLICK: @@ -197,7 +197,7 @@ public: if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); - DrawWindowWidgets(this); + this->DrawWidgets(); /* strings such as 'Size' and 'Coverage Area' */ int text_end = DrawStationCoverageAreaText(2, 206, SCT_ALL, rad, false); text_end = DrawStationCoverageAreaText(2, text_end + 4, SCT_ALL, rad, true) + 4; |