Author: spouliot
Date: 2007-06-06 11:49:54 -0400 (Wed, 06 Jun 2007)
New Revision: 78757

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/runtime.h
Log:
runtime.h: Call SetObjectType on Brush and SolidColorBrush

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-06 15:35:33 UTC (rev 78756)
+++ trunk/moon/src/ChangeLog    2007-06-06 15:49:54 UTC (rev 78757)
@@ -1,3 +1,7 @@
+2007-06-06  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * runtime.h: Call SetObjectType on Brush and SolidColorBrush
+
 2007-06-06  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
        * runtime.cpp, runtime.h: Remove the default_values hashtable

Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h    2007-06-06 15:35:33 UTC (rev 78756)
+++ trunk/moon/src/runtime.h    2007-06-06 15:49:54 UTC (rev 78757)
@@ -373,7 +373,10 @@
        static DependencyProperty* RelativeTransformProperty;
        static DependencyProperty* TransformProperty;
 
-       Brush () {}
+       Brush ()
+       {
+               SetObjectType (DependencyObject::BRUSH);
+       }
        
        virtual void SetupBrush (cairo_t *cairo) = 0;
 };
@@ -390,7 +393,10 @@
  public:
        static DependencyProperty* ColorProperty;
 
-       SolidColorBrush () {} 
+       SolidColorBrush ()
+       {
+               SetObjectType (DependencyObject::SOLIDCOLORBRUSH);
+       }
 
        virtual void SetupBrush (cairo_t *cairo);
 };

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

Reply via email to