Add wxString::ToInt() and ToUInt() for convenience and consistency with the existing ToLong() and ToULong(). Closes #22068.