Add: data parameter in Window::Close method.
This allows passing data when closing a window, e.g. to indicate how it was closed.
This commit is contained in:

committed by
Peter Nelson

parent
cda6f24fe8
commit
f379b31e28
@@ -1096,7 +1096,7 @@ SmallMapWindow::~SmallMapWindow()
|
||||
delete this->overlay;
|
||||
}
|
||||
|
||||
/* virtual */ void SmallMapWindow::Close()
|
||||
/* virtual */ void SmallMapWindow::Close([[maybe_unused]] int data)
|
||||
{
|
||||
this->BreakIndustryChainLink();
|
||||
this->Window::Close();
|
||||
|
Reference in New Issue
Block a user