Fix issue with wxChar on build with non-unicode wxWidgets