Also replace an if checking for the supported types with an array-based
approach to make it easier to add pretty printers for more types in the
future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775