The stellar content of the dwarf galaxy NGC 3109.