@@ -516,13 +516,13 @@ struct GenerateLandscapeWindow : public
this->DrawWidgets();
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:
case GLAND_ARCTIC:
case GLAND_TROPICAL:
case GLAND_TOYLAND:
@@ -918,13 +918,13 @@ struct CreateScenarioWindow : public Win
*size = GetStringBoundingBox(str);
size->width += padding.width;
size->height += padding.height;
case CSCEN_TEMPERATE:
case CSCEN_ARCTIC:
case CSCEN_TROPICAL:
case CSCEN_TOYLAND:
@@ -1158,13 +1158,13 @@ struct GenerateProgressWindow : public W
GenerateProgressWindow() : Window()
this->InitNested(&_generate_progress_desc);
case GPWW_ABORT:
if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
ShowQuery(
STR_GENERATION_ABORT_CAPTION,