This method uses wx:yield to wait for the user to type a character in the edit. The sexpression is returned.