heat oven to 400. place the bread in a buttered ovenproof skillet, a 9 inch square baking dish, or a casserole. scatter the onions and ham over the bread. pour the wine over the onion and ham and sprinkle with the pepper and cheese of choice. bake until the cheese has melted and begun to brown at the edges, about 20 minutes.