Author: gnorton
Date: 2008-01-10 22:32:26 -0500 (Thu, 10 Jan 2008)
New Revision: 92652
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ControlHandler.cs
Log:
In .:
* ControlHAndler.cs: Mark all dirty areas as dirty with the Hwnd
system.
2008-01-10 Geoff Norton <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ChangeLog
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ChangeLog
2008-01-11 03:31:36 UTC (rev 92651)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ChangeLog
2008-01-11 03:32:26 UTC (rev 92652)
@@ -1,5 +1,9 @@
2008-01-10 Geoff Norton <[EMAIL PROTECTED]>
+ * ControlHAndler.cs: Mark all dirty areas as dirty with the Hwnd
system.
+
+2008-01-10 Geoff Norton <[EMAIL PROTECTED]>
+
* ControlHandler.cs: Ensure we send controls a WM_WINDOWPOSCHANGED
when their bounds are changed by the carbon system. Fixes initial
sizing
of PDN DocumentWorkspace bug.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ControlHandler.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ControlHandler.cs
2008-01-11 03:31:36 UTC (rev 92651)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.CarbonInternal/ControlHandler.cs
2008-01-11 03:32:26 UTC (rev 92652)
@@ -110,12 +110,9 @@
switch (kind) {
case kEventControlDraw: {
- //TODO: This is a hack which masks our
over-redraw-expose problem
- if (client) {
- HIRect bounds = new HIRect ();
- HIViewGetBounds (handle, ref
bounds);
- Driver.AddExpose (hwnd, client,
bounds);
- }
+ HIRect bounds = new HIRect ();
+ HIViewGetBounds (handle, ref bounds);
+ Driver.AddExpose (hwnd, client, bounds);
if (!hwnd.visible) {
if (client) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches