use wxDC#IsOk instead of (at least in wxwidget3.0 non-existent) wxDC#Ok
Fix int->void* conversion that is invalid for 64bit systems
Merge pull request #148 from nkiesel/master

use wxDC#IsOk instead of (at least in wxwidget3.0 non-existent) wxDC#Ok