Garry's Mod Wiki

undo.SetupUI

  undo.SetupUI()

Description

This is used internally - although you're able to use it you probably shouldn't.

Adds a hook (CPanelPaint) to the control panel paint function so we can determine when it is being drawn.