It certainly does not help matters, but studies show that it does not particularly cause it to happen either. You can set a certain time a few hours before bedtime that the child cannot drink anything more. This will help them make fewer bathroom trips and possibly have less wetness during the night. you do not want them to become dehydrated either, as that would cause some other problems.