os.startfile works again for documentation,
only uses encoding checks if wxpython is built with unicode support, check syntax works with non unix line endings.
Added a few c++ styles.