[Mwinapi-commits] SF.net SVN: mwinapi: [63] trunk/ManagedWinapi/SystemWindow.cs
Status: Beta
Brought to you by:
schierlm
From: <sch...@us...> - 2008-03-29 13:45:45
|
Revision: 63 http://mwinapi.svn.sourceforge.net/mwinapi/?rev=63&view=rev Author: schierlm Date: 2008-03-29 06:45:40 -0700 (Sat, 29 Mar 2008) Log Message: ----------- Oops: Exchange X and Y in Location property Modified Paths: -------------- trunk/ManagedWinapi/SystemWindow.cs Modified: trunk/ManagedWinapi/SystemWindow.cs =================================================================== --- trunk/ManagedWinapi/SystemWindow.cs 2008-03-25 22:38:59 UTC (rev 62) +++ trunk/ManagedWinapi/SystemWindow.cs 2008-03-29 13:45:40 UTC (rev 63) @@ -694,10 +694,10 @@ WINDOWPLACEMENT wp = new WINDOWPLACEMENT(); wp.length = Marshal.SizeOf(wp); GetWindowPlacement(_hwnd, ref wp); - wp.rcNormalPosition.Bottom = value.X + wp.rcNormalPosition.Height; - wp.rcNormalPosition.Right = value.Y + wp.rcNormalPosition.Width; - wp.rcNormalPosition.Top = value.X; - wp.rcNormalPosition.Left = value.Y; + wp.rcNormalPosition.Bottom = value.Y + wp.rcNormalPosition.Height; + wp.rcNormalPosition.Right = value.X + wp.rcNormalPosition.Width; + wp.rcNormalPosition.Top = value.Y; + wp.rcNormalPosition.Left = value.X; SetWindowPlacement(_hwnd, ref wp); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |