(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 6b77177f25
commit e0f59fb049
13 changed files with 10 additions and 78 deletions

View File

@@ -813,11 +813,6 @@ HandleEditBoxResult QueryStringBaseWindow::HandleEditBoxKey(int wid, uint16 key,
return this->QueryString::HandleEditBoxKey(this, wid, key, keycode, state);
}
void QueryStringBaseWindow::HandleEditBox(int wid)
{
this->QueryString::HandleEditBox(this, wid);
}
void QueryStringBaseWindow::OnOpenOSKWindow(int wid)
{
ShowOnScreenKeyboard(this, wid, 0, 0);
@@ -899,11 +894,6 @@ struct QueryStringWindow : public QueryStringBaseWindow
}
}
virtual void OnMouseLoop()
{
this->HandleEditBox(WID_QS_TEXT);
}
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;