pass const ref for wxString
fix single instance bug