diff --git a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs index fcf94717..a656a430 100644 --- a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs +++ b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs @@ -1112,8 +1112,6 @@ namespace OpenTK.Platform.MacOS #endregion - public event EventHandler Load = delegate { }; - public event EventHandler Unload = delegate { }; public event EventHandler Move = delegate { }; public event EventHandler Resize = delegate { }; public event EventHandler Closing = delegate { }; diff --git a/Source/OpenTK/Platform/Windows/WinGLNative.cs b/Source/OpenTK/Platform/Windows/WinGLNative.cs index 0650a819..6d12dde6 100644 --- a/Source/OpenTK/Platform/Windows/WinGLNative.cs +++ b/Source/OpenTK/Platform/Windows/WinGLNative.cs @@ -452,8 +452,6 @@ namespace OpenTK.Platform.Windows if (!e.Cancel) { - Unload(this, EventArgs.Empty); - DestroyWindow(); break; } @@ -1117,10 +1115,6 @@ namespace OpenTK.Platform.Windows #region Events - public event EventHandler Load =delegate { }; - - public event EventHandler Unload = delegate { }; - public event EventHandler Move = delegate { }; public event EventHandler Resize = delegate { }; diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 92e928bd..4fc2a91b 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -1270,10 +1270,6 @@ namespace OpenTK.Platform.X11 #region Events - public event EventHandler Load = delegate { }; - - public event EventHandler Unload = delegate { }; - public event EventHandler Move = delegate { }; public event EventHandler Resize = delegate { };