summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp6
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: