2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / HatchBrush.jvm.cs
old mode 100755 (executable)
new mode 100644 (file)
index 36f2f8b..7d64fe8
@@ -12,11 +12,13 @@ namespace System.Drawing.Drawing2D
                private Color _foreColor;
                private Color _backColor;
 
+               [MonoTODO]
                public HatchBrush (HatchStyle hatchStyle, Color foreColor)
                                        : this (hatchStyle, foreColor, Color.Black)
                {
                }
 
+               [MonoTODO]
                public HatchBrush(HatchStyle hatchStyle, Color foreColor, Color backColor)
                {
                        _style = hatchStyle;
@@ -49,7 +51,8 @@ namespace System.Drawing.Drawing2D
 
                protected override Paint NativeObject {
                        get {
-                               throw new NotImplementedException ();
+                               // FALLBACK: Solid color brush will be used
+                               return _foreColor.NativeObject;
                        }
                }