Food sensitivities may play a role - check out this study:
Clin Pediatr (Phila). 1992 May;31(5):302-7.
Effect of diet treatment on enuresis in children with migraine or hyperkinetic behavior.
Egger J, Carter CH, Soothill JF, Wilson J.
Source

Hospital for Sick Children, London, England.

Couldn't hurt to just try a gluten-free dairy-free diet for a month, anyway.