Author: rolf
Date: 2007-06-14 09:51:29 -0400 (Thu, 14 Jun 2007)
New Revision: 79543
Modified:
trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
trunk/olive/class/agclr/System.Windows.Shapes/Shape.cs
Log:
* Shape.cs: Constructor fixes, part 3.
Modified: trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog 2007-06-14
13:51:15 UTC (rev 79542)
+++ trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog 2007-06-14
13:51:29 UTC (rev 79543)
@@ -1,3 +1,7 @@
+2007-06-14 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+
+ * Shape.cs: Constructor fixes, part 3.
+
2007-06-13 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
* Polyline.cs, Path.cs, Ellipse.cs, Shape.cs, Rectangle.cs, Line.cs,
Modified: trunk/olive/class/agclr/System.Windows.Shapes/Shape.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Shape.cs 2007-06-14
13:51:15 UTC (rev 79542)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Shape.cs 2007-06-14
13:51:29 UTC (rev 79543)
@@ -55,9 +55,13 @@
public static readonly DependencyProperty
StrokeThicknessProperty =
DependencyProperty.Lookup (Kind.SHAPE,
"StrokeThickness", typeof (double));
- public Shape (IntPtr raw) : base (raw)
+ internal Shape (IntPtr raw) : base (raw)
{
}
+
+ public Shape () : base (NativeMethods.shape_new ())
+ {
+ }
public Brush Fill {
get { return (Brush) GetValue (FillProperty); }
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches