(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user