widgets: Cleanup, replace remnants of C-style virtual functions calls with native C++ virtual functions.