- added filter to allow framework defines to be used within widgets