From ad714d3f4cb5d70505eb65ad9cd288b15509b008 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 2 Sep 2009 12:06:41 +0000 Subject: [PATCH] * GLControl.cs: Removed call to CreateControl from the GLControl constructor. The GLControl is now constructed lazily, as regular UserControls do. Fixes issue [#1071]: "Not firing Load event for GLControl." --- Source/GLControl/GLControl.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/GLControl/GLControl.cs b/Source/GLControl/GLControl.cs index b9de5cde..e72db4a3 100644 --- a/Source/GLControl/GLControl.cs +++ b/Source/GLControl/GLControl.cs @@ -88,8 +88,6 @@ namespace OpenTK this.major = major; this.minor = minor; this.flags = flags; - - this.CreateControl(); } #endregion