changes for wxPython 2.9 compatibility

dc_set resoluation is gone or whatever