Removed unused method wrapForComponentGUIEvents.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>