Amend gui's to work with touchscreen controls.

This commit is contained in:
Juanjo
2013-06-24 20:32:29 +02:00
committed by pelya
parent d5669bb677
commit 96d3b0695c
5 changed files with 21 additions and 0 deletions

View File

@@ -1061,6 +1061,10 @@ public:
this->UpdateButtons(true);
}
~FoundTownWindow() {
if (_thd.GetCallbackWnd() == this) this->OnPlaceObjectAbort();
}
void RandomTownName()
{
this->townnamevalid = GenerateTownName(&this->townnameparts);