Author: toshok
Date: 2007-03-28 15:05:11 -0500 (Wed, 28 Mar 2007)
New Revision: 75107

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
Log:
2007-03-28  Chris Toshok  <[EMAIL PROTECTED]>

        * XplatUIX11.cs (UnmapWindow): reindent this block.

        * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
        the selection_start if we're moving the selection (that is, not
        extending it). Fixes bug #80461.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-28 20:02:17 UTC (rev 75106)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-28 20:05:11 UTC (rev 75107)
@@ -1,3 +1,11 @@
+2007-03-28  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * XplatUIX11.cs (UnmapWindow): reindent this block.
+
+       * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
+       the selection_start if we're moving the selection (that is, not
+       extending it). Fixes bug #80461.
+
 2007-03-28  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs      
2007-03-28 20:02:17 UTC (rev 75106)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs      
2007-03-28 20:05:11 UTC (rev 75107)
@@ -1809,6 +1809,7 @@
                        }
                        else {
                                ResetSelection ();
+                               selection_start = CurrentRow;
                        }
                }
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2007-03-28 20:02:17 UTC (rev 75106)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2007-03-28 20:05:11 UTC (rev 75107)
@@ -1343,7 +1343,7 @@
                                if (Control.FromHandle(hwnd.Handle) is Form) {
                                        Form f = 
Control.FromHandle(hwnd.Handle) as Form;
                                        if (f.WindowState == 
FormWindowState.Normal)
-                                       SendMessage(hwnd.Handle, 
Msg.WM_SHOWWINDOW, IntPtr.Zero, IntPtr.Zero);
+                                               SendMessage(hwnd.Handle, 
Msg.WM_SHOWWINDOW, IntPtr.Zero, IntPtr.Zero);
                                }
 
                                // it's possible that our Hwnd is no

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

Reply via email to