Author: rolf
Date: 2007-06-13 11:57:48 -0400 (Wed, 13 Jun 2007)
New Revision: 79441
Modified:
trunk/olive/class/agclr/System.Windows/ChangeLog
trunk/olive/class/agclr/System.Windows/Downloader.cs
trunk/olive/class/agclr/System.Windows/ResourceCollection.cs
trunk/olive/class/agclr/System.Windows/TriggerCollection.cs
Log:
* TriggerCollection.cs, Downloader.cs, ResourceCollection.cs: Use
native constructors.
Modified: trunk/olive/class/agclr/System.Windows/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows/ChangeLog 2007-06-13 15:57:19 UTC
(rev 79440)
+++ trunk/olive/class/agclr/System.Windows/ChangeLog 2007-06-13 15:57:48 UTC
(rev 79441)
@@ -1,5 +1,10 @@
2007-06-13 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+ * TriggerCollection.cs, Downloader.cs, ResourceCollection.cs: Use
+ native constructors.
+
+2007-06-13 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+
* TriggerCollection.cs, UIElement.cs, Downloader.cs,
ResourceCollection.cs, FrameworkElement.cs: Implement GetKind.
Modified: trunk/olive/class/agclr/System.Windows/Downloader.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/Downloader.cs 2007-06-13
15:57:19 UTC (rev 79440)
+++ trunk/olive/class/agclr/System.Windows/Downloader.cs 2007-06-13
15:57:48 UTC (rev 79441)
@@ -40,6 +40,7 @@
public Downloader ()
{
+ native = NativeMethods.downloader_new ();
}
Modified: trunk/olive/class/agclr/System.Windows/ResourceCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/ResourceCollection.cs
2007-06-13 15:57:19 UTC (rev 79440)
+++ trunk/olive/class/agclr/System.Windows/ResourceCollection.cs
2007-06-13 15:57:48 UTC (rev 79441)
@@ -34,6 +34,11 @@
namespace System.Windows {
public class ResourceCollection : MS.Internal.Collection<int> {
+ public ResourceCollection ()
+ {
+ native = NativeMethods.resource_collection_new ();
+ }
+
protected internal override Kind GetKind ()
{
return Kind.RESOURCE_COLLECTION;
Modified: trunk/olive/class/agclr/System.Windows/TriggerCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/TriggerCollection.cs 2007-06-13
15:57:19 UTC (rev 79440)
+++ trunk/olive/class/agclr/System.Windows/TriggerCollection.cs 2007-06-13
15:57:48 UTC (rev 79441)
@@ -34,6 +34,11 @@
namespace System.Windows {
public class TriggerCollection : MS.Internal.Collection<int> {
+ public TriggerCollection ()
+ {
+ native = NativeMethods.trigger_collection_new ();
+ }
+
protected internal override Kind GetKind ()
{
return Kind.TRIGGER_COLLECTION;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches