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/settings_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/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 7de747066..ac8846f34 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -277,7 +277,7 @@ struct GameOptionsWindow : Window { } } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { case GOW_CURRENCY_DROPDOWN: // Setup currencies dropdown @@ -625,7 +625,7 @@ public: this->DrawWidgets(); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { if (widget >= GDW_OPTIONS_START) { widget -= GDW_OPTIONS_START; @@ -1539,7 +1539,7 @@ struct GameSettingsWindow : Window { this->DrawWidgets(); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { if (widget != SETTINGSEL_OPTIONSPANEL) return; @@ -1826,7 +1826,7 @@ struct CustomCurrencyWindow : Window { this->DrawWidgets(); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { int line = 0; int len = 0; |