Calling GetReverseUnicodePosition on the selection positioning after calling SetText resulted in the conversions between UTF-8 indices and wxString indices just being a very slow no-op.