In addition to showing the position returned by HitTest(), also show its return value which is not necessarily wxTE_HT_ON_TEXT if it is not wxTE_HT_UNKNOWN under MSW.
In addition to showing the position returned by HitTest(), also show its return value which is not necessarily wxTE_HT_ON_TEXT if it is not wxTE_HT_UNKNOWN under MSW.