'Initialise a wxWindows renderer instance.'

def __init__(self, bitmap, dpi):

    warn_deprecated(u'2.0', message=u"The    WX    backend    is    deprecated.    It's    untested    and    will    be    removed    in    Matplotlib    2.2.    Use    the    WXAgg    backend    instead.    See    Matplotlib    usage    FAQ    for    more    info    on    backends.", alternative=u'WXAgg')
    RendererBase.__init__(self)
    DEBUG_MSG(u'__init__()', 1, self)
    self.width = bitmap.GetWidth()
    self.height = bitmap.GetHeight()
    self.bitmap = bitmap
    self.fontd = {}
    self.dpi = dpi
    self.gc = None
