Removed obsolete OnCreate and OnDestroy methods/events.

This commit is contained in:
the_fiddler 2009-09-04 23:23:46 +00:00
parent 8ac756bf1d
commit dd383f477a

View file

@ -1221,21 +1221,6 @@ namespace OpenTK.Platform.X11
#endregion
#region OnCreate
public event CreateEvent Create;
private void OnCreate(EventArgs e)
{
if (this.Create != null)
{
Debug.Print("Create event fired from window: {0}", window.ToString());
this.Create(this, e);
}
}
#endregion
public void Close() { Exit(); }
#region public void Exit()
@ -1260,19 +1245,6 @@ namespace OpenTK.Platform.X11
#endregion
#region OnDestroy
public event DestroyEvent Destroy;
private void OnDestroy(EventArgs e)
{
Debug.Print("Destroy event fired from window: {0}", window.ToString());
if (this.Destroy != null)
this.Destroy(this, e);
}
#endregion
#region PointToClient
public Point PointToClient(Point point)