diff --git a/Source/OpenTK/Platform/Windows/WindowInfo.cs b/Source/OpenTK/Platform/Windows/WindowInfo.cs index 0115615a..aa85a0f0 100644 --- a/Source/OpenTK/Platform/Windows/WindowInfo.cs +++ b/Source/OpenTK/Platform/Windows/WindowInfo.cs @@ -20,6 +20,8 @@ namespace OpenTK.Platform.Windows private IntPtr handle; private WindowInfo parent; + #region --- Constructors --- + public WindowInfo() { } @@ -65,6 +67,8 @@ namespace OpenTK.Platform.Windows this.CopyInfoFrom(window.WindowInfo); } + #endregion + #region --- IWindowInfo Members --- public IntPtr Handle @@ -126,10 +130,14 @@ namespace OpenTK.Platform.Windows #endregion + #region public override string ToString() + public override string ToString() { return String.Format("Windows.WindowInfo: Handle {0}, Parent ({1})", this.Handle, this.Parent != null ? this.Parent.ToString() : "null"); } + + #endregion } }