forked from mirror/OpenTTD
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
This commit is contained in:
@@ -335,11 +335,6 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
|
||||
if (widget == WID_SIL_FILTER_TEXT) this->SetFilterString(this->text.buf);
|
||||
}
|
||||
|
||||
virtual void OnMouseLoop()
|
||||
{
|
||||
this->HandleEditBox(WID_SIL_FILTER_TEXT);
|
||||
}
|
||||
|
||||
void BuildSortSignList()
|
||||
{
|
||||
if (this->signs.NeedRebuild()) {
|
||||
@@ -574,11 +569,6 @@ struct SignWindow : QueryStringBaseWindow, SignList {
|
||||
return state;
|
||||
}
|
||||
|
||||
virtual void OnMouseLoop()
|
||||
{
|
||||
this->HandleEditBox(WID_QES_TEXT);
|
||||
}
|
||||
|
||||
virtual void OnOpenOSKWindow(int wid)
|
||||
{
|
||||
ShowOnScreenKeyboard(this, wid, WID_QES_CANCEL, WID_QES_OK);
|
||||
|
Reference in New Issue
Block a user