(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.

This commit is contained in:
frosch
2012-11-13 21:46:33 +00:00
parent 2614ed18f9
commit 137adb3496
13 changed files with 10 additions and 78 deletions

View File

@@ -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);