Fixed issue caused by new version of wxPython where setting the search focus clears the text.