Septimus Heap: Magyk
Two children are switched at birth, one a boy destined to become a powerful wizard, the other a girl who is the daughter of a murdered queen. Based on the first book of Angie Sage's "Septimus Heap" series.