diff options
author | frosch <frosch@openttd.org> | 2010-01-30 18:34:48 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-30 18:34:48 +0000 |
commit | 88019e64e1de6966c9cfe26beda537664332d7ec (patch) | |
tree | 4e907f0b62170a086d3297d50ff5743cacb4491c /src/cheat_gui.cpp | |
parent | 2f6fe85f23256a116cb4e85606c8714d8fc8a399 (diff) | |
download | openttd-88019e64e1de6966c9cfe26beda537664332d7ec.tar.xz |
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r-- | src/cheat_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp index 23e8cc7f7..78dbf4906 100644 --- a/src/cheat_gui.cpp +++ b/src/cheat_gui.cpp @@ -271,7 +271,7 @@ struct CheatWindow : Window { this->DrawWidgets(); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { const NWidgetBase *wid = this->GetWidget<NWidgetBase>(CW_PANEL); uint btn = (pt.y - wid->pos_y - WD_FRAMERECT_TOP - this->header_height) / (FONT_HEIGHT_NORMAL + WD_PAR_VSEP_NORMAL); |