- move version specific stuff to wx_compat.py
- PEP8 the code