In a gestalt game where dual-progression/hybrid PrCs are allowed but take both sides of the gestalt, what would be better - Wizard 20 // Sorcerer 20 OR (Wizard 10 // Sorcerer 10) / Ultimate Magus 10? (You can substitute Sorc with Beguiler if it bothers you.)
The Ultimate Magus sacrifices just 1 caster level of Wizard and 2 CLs of Sorcerer, but gains some decent abilities instead and both Wiz and Sorc still reach 9th level spells. IMO it's worth it.