[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] pnetlib ./ChangeLog System.Windows.Forms/Contro...
From: |
Heiko Weiss |
Subject: |
[dotgnu-pnet-commits] pnetlib ./ChangeLog System.Windows.Forms/Contro... |
Date: |
Thu, 23 Mar 2006 14:38:44 +0000 |
CVSROOT: /sources/dotgnu-pnet
Module name: pnetlib
Branch:
Changes by: Heiko Weiss <address@hidden> 06/03/23 14:38:44
Modified files:
. : ChangeLog
System.Windows.Forms: Control.cs
Log message:
Control.cs: removed my last change in Reparent of Controls, because it
breaked using invokes.
sorry for that!.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/ChangeLog.diff?tr1=1.2374&tr2=1.2375&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/System.Windows.Forms/Control.cs.diff?tr1=1.115&tr2=1.116&r1=text&r2=text
Patches:
Index: pnetlib/ChangeLog
diff -u pnetlib/ChangeLog:1.2374 pnetlib/ChangeLog:1.2375
--- pnetlib/ChangeLog:1.2374 Thu Mar 23 10:11:34 2006
+++ pnetlib/ChangeLog Thu Mar 23 14:38:44 2006
@@ -1,5 +1,6 @@
-2006-03-21 Heiko Weiss <address@hidden>
+2006-03-23 Heiko Weiss <address@hidden>
+ * System.Windows.Forms/Control.cs: removed my last change in Reparent
of Controls, because it breaked using invokes.
* System.Windows.Forms/Control.cs: optimized dispose, changed
ForceLayout
2006-03-21 Heiko Weiss <address@hidden>
Index: pnetlib/System.Windows.Forms/Control.cs
diff -u pnetlib/System.Windows.Forms/Control.cs:1.115
pnetlib/System.Windows.Forms/Control.cs:1.116
--- pnetlib/System.Windows.Forms/Control.cs:1.115 Thu Mar 23 10:11:34 2006
+++ pnetlib/System.Windows.Forms/Control.cs Thu Mar 23 14:38:44 2006
@@ -5519,10 +5519,12 @@
* created again.
*/
/*
- toolkitWindow.Reparent(null, left +
ToolkitDrawOrigin.X,
- top + ToolkitDrawOrigin.Y);
- */
+ fu..., if we do this, we get a deadlock
on Invokes!
+ because the handle might be created the
by nother thread.
DestroyHandle();
+ */
+ toolkitWindow.Reparent(null, left +
ToolkitDrawOrigin.X,
+
top + ToolkitDrawOrigin.Y);
}
else if(newParent.toolkitWindow != null)
{