private void OnGUI()
{
EditorGUIUtility.ResetGUIState();
base.DoWindowDecorationStart();
if (this.background == null)
{
this.background = "hostview";
this.background.padding.top = 0;
}
GUILayout.BeginVertical(this.background, new GUILayoutOption[0]);
if (this.actualView != null)
{
this.actualView.m_Pos = base.screenPosition;
}
this.Invoke("OnGUI");
EditorGUIUtility.ResetGUIState();
if ((this.m_ActualView.m_FadeoutTime != 0f) && (Event.current.type == EventType.Repaint))
{
this.m_ActualView.DrawNotification();
}
GUILayout.EndVertical();
base.DoWindowDecorationEnd();
EditorGUI.ShowRepaints();
}