Virginia Gov. Abigail Spanberger has vetoed legislation that would allow a referendum on building a casino in Fairfax County.