Dragon with class levels? Sorcerer is the obvious choice, or some PrC; not sure off the top of my head what a dragon could qualify for, but I'm sure there are a few. Should be able to get into Archmage, Loremaster maybe, and more outside of core.
Edit: or you could find some nice templates, but advancing spellcasting is probably the best way to go in terms of making it more powerful