mono/xwt — pull request #294 by mrward (2014-02-27 12:35:12+00:00)
Title: SearchTextEntry focus and escape key preventing dialog from closing.

**Fix SearchTextEntry being unable to get focus**

Override the SetFocus method so focus can be forced by using GrabFocus.

**Do not capture escape key when search text entry is empty**

Capturing the escape key prevents a dialog from closing.

When there is text in the search text entry then the escape key is
captured and the text is cleared when this key is pressed.

When there is no text in the search text entry then the escape key
is not handled/captured by the search text entry and can be
handled elsewhere, such as by a dialog.