Author: everaldo
Date: 2007-01-06 02:46:12 -0500 (Sat, 06 Jan 2007)
New Revision: 70566
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
Log:
* XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
2007-01-05 Everaldo Canuto <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-01-06 07:07:47 UTC (rev 70565)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-01-06 07:46:12 UTC (rev 70566)
@@ -1,5 +1,9 @@
2007-01-05 Everaldo Canuto <[EMAIL PROTECTED]>
+ * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
+
+2007-01-05 Everaldo Canuto <[EMAIL PROTECTED]>
+
* Control.cs: Under InternalBorderStyle call RecreateHangle to
mimic same behavior than win32 that set border only in CreateParams,
it fix problems under CreateParams overrides. Fix #79442 and partial
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
2007-01-06 07:07:47 UTC (rev 70565)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
2007-01-06 07:46:12 UTC (rev 70566)
@@ -4437,10 +4437,6 @@
}
internal override void SetBorderStyle(IntPtr handle,
FormBorderStyle border_style) {
- Hwnd hwnd;
-
- hwnd = Hwnd.ObjectFromHandle(handle);
-
Form form = Control.FromHandle (handle) as Form;
if (form != null && form.window_manager == null &&
(border_style == FormBorderStyle.FixedToolWindow ||
border_style ==
FormBorderStyle.SizableToolWindow)) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches