No pigs appear in Lewis Carroll's original Alice's Adventures in Wonderland. You may be conflating it with:
Wonderland's fauna includes the White Rabbit, Cheshire Cat, Caterpillar, Dormouse, March Hare, Dodo, etc.—no swine.