Do boys tend to wet the bed longer then girls?

My son is almost 9 and still wets the bed. Both my older daughters grew out of it at 5. One of my friends said boys tend to wet the bed longer than girls. His pediatrician says he's fine. He just may take a little longer to stop than some. It's usually only about three nights a week. Any advice on getting it to stop completely?