anton mendel , the father , had been born in heinzendorf ( as makytta still liked to think of it because most of the villagers considered themselves ethnic germans ) in 1789 and was a veteran of the napoleonic wars .