Event handler for painting
Source position: controls.pp line 1941
public property TCustomControl.OnPaint: TNotifyEvent read FOnPaint write FOnPaint;