Author: jpobst
Date: 2007-02-24 00:18:51 -0500 (Sat, 24 Feb 2007)
New Revision: 73385

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
Log:
2007-02-23  Jonathan Pobst  <[EMAIL PROTECTED]>

        * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-02-24 05:08:11 UTC (rev 73384)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-02-24 05:18:51 UTC (rev 73385)
@@ -1,3 +1,7 @@
+2007-02-23  Jonathan Pobst  <[EMAIL PROTECTED]>
+
+       * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
+
 2007-02-23  Carlos Alberto Cortez <[EMAIL PROTECTED]>
 
        * ListView.cs: I forgot to commit the changes for ListView 

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-02-24 05:08:11 UTC (rev 73384)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-02-24 05:18:51 UTC (rev 73385)
@@ -1600,8 +1600,10 @@
                                }
                        }
 
+#if NET_2_0
                        if (this.ShowWithoutActivation)
                                Hwnd.ObjectFromHandle (this.Handle).no_activate 
= true;
+#endif
 
                        XplatUI.SetWindowMinMax(window.Handle, 
maximized_bounds, minimum_size, maximum_size);
                        if ((FormBorderStyle != FormBorderStyle.FixedDialog) && 
(icon != null)) {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to