diff options
author | alberth <alberth@openttd.org> | 2010-11-26 15:22:18 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-26 15:22:18 +0000 |
commit | f5c6fd1a2582be29c9a5376ccb638781fbf355f7 (patch) | |
tree | 8409730a69d50fb7fca3002c94102bb37e7c14b1 /src/dock_gui.cpp | |
parent | 61637f493afd89ebab58ae6282b80fe326db33af (diff) | |
download | openttd-f5c6fd1a2582be29c9a5376ccb638781fbf355f7.tar.xz |
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index a89312815..a0c676a05 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -225,11 +225,6 @@ struct BuildDocksToolbarWindow : Window { WIDGET_LIST_END); } - virtual void OnPaint() - { - this->DrawWidgets(); - } - virtual void OnClick(Point pt, int widget, int click_count) { this->last_clicked_widget = (DockToolbarWidgets)widget; |