"Midget" is an outdated, offensive term. Please use respectful language for people with dwarfism.
In Charlie and the Chocolate Factory, the character you may mean is Veruca Salt, played by Julie Dawn Cole—she does not have dwarfism.
Let's use respectful terminology for all individuals.