some work on WXTextInput