fixes #1 (compatibility with wxPython > 2.8)

the wx._core._deprecated function is not available any more
in wxPython > 2.8. wx._core.deprecated is called instead, if available.