fewer std<->wxstring conversions