Melt margarine in baking dish, covering bottom and grease sides. In a large mixing bowl, combine sugar, flour, milk, baking powder, and vanilla. Pour into baking dish. Spread 1 can of mixed fruit over batter. Bake at 375 degrees for 45 minutes.