bugfix: setting lineStyle requires Brush.lbStyle = BS_SOLID
authorca
Thu, 02 Dec 2010 18:22:35 +0100
changeset 5660 0c071b9e2f4e
parent 5659 0c6fa789e7f0
child 5661 52da326a0fe1
bugfix: setting lineStyle requires Brush.lbStyle = BS_SOLID
WinWorkstation.st
--- a/WinWorkstation.st	Wed Dec 01 15:58:09 2010 +0100
+++ b/WinWorkstation.st	Thu Dec 02 18:22:35 2010 +0100
@@ -1674,6 +1674,8 @@
 	Brush.lbHatch = (DWORD)gcData->hMask;
 	Brush.lbColor = gcData->fgColor;
     } else {
+	Brush.lbStyle = BS_SOLID;
+
 	hPen = CreatePen((gcData->lStyle & PS_STYLE_MASK), lw, gcData->fgColor);
 
 	RESPRINTF(("CreatePen %x %d(%d) %x %x\n",
@@ -18954,11 +18956,11 @@
 !WinWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.447 2010-11-09 15:17:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.448 2010-12-02 17:22:35 ca Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.447 2010-11-09 15:17:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/WinWorkstation.st,v 1.448 2010-12-02 17:22:35 ca Exp $'
 ! !
 
 WinWorkstation initialize!