This reverts commit 41c8ec56e0e1b231e089d4cc6bc45b0b4615e499.
Does not work due to code relying on getting the non-const Ptr from the widget. Further refactoring is needed.
When SpellWindow is visible, every 0.5 seconds update the cost/changes for spells/enchanted items shown.
Also, check to see if more substantial update of the window is required.
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data