That's not true. It is definitely not settled that IQ is believed by scientists to be immutable, and, in fact, a widely held hypothesis for the increase (shared by Flynn himself) is that the cognitive environment has become increasing complex, which is having the effect of "training" higher IQ.