Expand the class description. Fix and improve the code example. Closes https://github.com/wxWidgets/wxWidgets/pull/1693