def load_icon(filename, width=-1, height=-1):
    icon_path = os.path.join(os.path.dirname(__file__), "icons", filename)
    return wx.Icon(icon_path, wx.BITMAP_TYPE_ICO, width, height)
return a wx.Icon from the icons folder
dataset/ETHPy150Open manahl/mdf/mdf/viewer/common.py/load_icon