The true story was much darker than this. And since the movie was only about how he thought of Peter Pan, they made it like that's all wrote. It wasn't really that accurate from a true story documentary stand point. A lot of his life story was censored and simplified for children's appeal. In his actual life story wrote about a baby named flying called "The Little White Bird" sometime before "Peter Pan". This movie skipped and cut out that book and had him write Peter Pan much sooner in his life then he actually did in real life. The movie basically had him write Peter Pan even before when he was supposed to be write The Little White Bird.
Also, in real life, JM Barrie's favorite Davies child was Michael not Peter. But because the focus of the movie was on how he made Peter Pan, the writers made Peter be his favorite, when that's not how it was in real life.
Anyways, that's about all I can say about this movie. There's more I want to say, but I don't know how it say such without drawing up controversy. It's good for kids, but not for anything historical as it's not even accurate to the true story (25% at most maybe, but no more than that). That's all.