def METHOD_NAME(cls, name, parent, location):
    bitmap = cls.getBitmap(name or 0, location)
    if bitmap is None:
        return None
    static = wx.StaticBitmap(parent)
    static.SetBitmap(bitmap)
    return static