Author: rolf
Date: 2007-06-14 09:51:51 -0400 (Thu, 14 Jun 2007)
New Revision: 79544

Modified:
   trunk/olive/class/agclr/ChangeLog
   trunk/olive/class/agclr/Internal.cs
Log:
* Internal.cs: Constructor fixes, part 3.

Modified: trunk/olive/class/agclr/ChangeLog
===================================================================
--- trunk/olive/class/agclr/ChangeLog   2007-06-14 13:51:29 UTC (rev 79543)
+++ trunk/olive/class/agclr/ChangeLog   2007-06-14 13:51:51 UTC (rev 79544)
@@ -1,3 +1,7 @@
+2007-06-14  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * Internal.cs: Constructor fixes, part 3.
+
 2007-06-13  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * Support for Storyboard class, still need the C API from Chris to

Modified: trunk/olive/class/agclr/Internal.cs
===================================================================
--- trunk/olive/class/agclr/Internal.cs 2007-06-14 13:51:29 UTC (rev 79543)
+++ trunk/olive/class/agclr/Internal.cs 2007-06-14 13:51:51 UTC (rev 79544)
@@ -35,7 +35,7 @@
        // the public contract
        //
        public abstract class Collection<T> : DependencyObject {
-               public Collection () : base (IntPtr.Zero)
+               public Collection () : base (NativeMethods.collection_new ())
                {
                        //
                        // We really need to revisit native collections, should
@@ -45,10 +45,9 @@
                        // the "new" versions should be immediately dispossed 
once
                        // we do a 'set' operation (which should be a bitwise 
copy).
                        //
-                       throw new NotImplementedException ();
                }
                
-               internal Collection (IntPtr n) : base (n)
+               internal Collection (IntPtr raw) : base (raw)
                {
                }
                

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

Reply via email to