#NEWLINE# def load_icon( filename , width = ( - 1 ) , height = ( - 1 ) ) : #NEWLINE# #INDENT# 'return a wx.Icon from the icons folder' #NEWLINE# icon_path = os . path . join ( os . path . dirname ( __file__ ) , 'icons' , filename ) #NEWLINE# return wx . Icon ( icon_path , wx . BITMAP_TYPE_ICO , filename , height )