Gambling habits doesn't really pass from the gene of parents to children, most children are easily influenced by the hobbies of their parents. Normally most male just have interest in gambling because of the money it brings .
These days gambling have turned to be a part of one's hobby. This is the reason we can see majority of common people who are little knowledged about technology are into gambling. Another important reason for the increased participation into gambling by the present generation is through the advertisement broadcast on the television. This doesn't have anything with the inheritance.