Melt butter in a wide frying pan over medium-high heat. Add zucchini, corn, pepper, onion, and garlic. Cook, stirring frequently, until most of vegetable liquid has evaporated and vegetables are crisp-tender (about 5 minutes). Add salt and pepper to taste.