From dd383f477a5f704eae8ba6aea82e402b3653e18d Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 4 Sep 2009 23:23:46 +0000 Subject: [PATCH] Removed obsolete OnCreate and OnDestroy methods/events. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 28 ----------------------- 1 file changed, 28 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index f0e506c3..0bbe8822 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -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)