L19 Magus gets "Greater Spell Access" as a class feature (PCGen adds this as a named feature)
"You gain access to an expanded spell list. You learn and place 14 spells from the wizard's spell list into your spellbook as magus spells of their wizard level. You gain two of each of the following wizard spells not on the magus spell list: 0-level, 1st-level, 2nd-level, 3rd-level, 4th-level, 5th-level, and 6th-level. You can ignore the somatic component of these spells, casting them without the normal chance of spell failure."
However there is no means to pick those 14 spells, 2 from each spell level.
Pathfinder core rulebooks