Fixed issue with wxStrings not being converted back to utf8