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/genworld_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/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 672936e31..5efbe7271 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -519,7 +519,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { this->DrawEditBox(GLAND_RANDOM_EDITBOX); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { case GLAND_TEMPERATE: @@ -921,7 +921,7 @@ struct CreateScenarioWindow : public Window size->height += padding.height; } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { case CSCEN_TEMPERATE: @@ -1161,7 +1161,7 @@ struct GenerateProgressWindow : public Window { this->InitNested(&_generate_progress_desc); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { case GPWW_ABORT: |