gui/windows/window.py
def _set_icon(self, icon=None):
        """Set icon based on resource values"""
        if icon is not None:
            try:
                wx_icon = wx.Icon(icon, wx.BITMAP_TYPE_ICO)
                self.wx_obj.SetIcon(wx_icon)
            except:
                pass
def _set_icon(self, icon=None):
        if icon is not None:
            try:
                wx_icon = wx.Icon(icon, wx.BITMAP_TYPE_ICO)
                self.wx_obj.SetIcon(wx_icon)
            except:
                pass
def _set_icon ( self , icon = None ) : if icon is not None : try : wx_icon = wx . Icon ( icon , wx . BITMAP_TYPE_ICO ) self . wx_obj . SetIcon ( wx_icon ) except : pass
Set icon based on resource values
Set icon based on resource values