Gov. Pete Wilson on Thursday threatened to veto a measure that would create the nation's strongest assault-weapons ban, only minutes after the bill squeaked out of the state Assembly by a one-vote margin.