Saute bacon and onion. Add sugar, cornstarch, vinegar and wine. Cook until thickened, stirring constantly. Pour over hot beans; serve.