summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-26 15:22:18 +0000
committeralberth <alberth@openttd.org>2010-11-26 15:22:18 +0000
commitf5c6fd1a2582be29c9a5376ccb638781fbf355f7 (patch)
tree8409730a69d50fb7fca3002c94102bb37e7c14b1 /src/airport_gui.cpp
parent61637f493afd89ebab58ae6282b80fe326db33af (diff)
downloadopenttd-f5c6fd1a2582be29c9a5376ccb638781fbf355f7.tar.xz
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r--src/airport_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index c518a63b7..a59cd4b1b 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -94,11 +94,6 @@ struct BuildAirToolbarWindow : Window {
if (_settings_client.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0, false);
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void OnClick(Point pt, int widget, int click_count)
{
if (!IsInsideBS(widget, ATW_AIRPORT, lengthof(_build_air_button_proc))) return;