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