--- a/graphics/FBD_Objects.py Thu Sep 22 10:56:52 2011 +0200
+++ b/graphics/FBD_Objects.py Thu Sep 22 15:33:31 2011 +0200
@@ -49,7 +49,7 @@
self.Inputs = []
self.Outputs = []
self.Colour = wx.BLACK
- self.Pen = wx.BLACK_PEN
+ self.Pen = MiterPen(wx.BLACK)
self.SetType(type, extension, inputs, connectors, executionControl)
self.Errors = {}
@@ -240,7 +240,7 @@
if self.ExecutionControl:
inputs.insert(0, ("EN","BOOL","none"))
outputs.insert(0, ("ENO","BOOL","none"))
- self.Pen = wx.Pen(self.Colour)
+ self.Pen = MiterPen(self.Colour)
self.Clean()
# Extract the inputs properties and create the corresponding connector
self.Inputs = []
@@ -651,7 +651,7 @@
# Draws variable
def Draw(self, dc):
Graphic_Element.Draw(self, dc)
- dc.SetPen(wx.BLACK_PEN)
+ dc.SetPen(MiterPen(wx.BLACK))
dc.SetBrush(wx.WHITE_BRUSH)
if getattr(dc, "printing", False):
@@ -854,7 +854,7 @@
# Draws connection
def Draw(self, dc):
Graphic_Element.Draw(self, dc)
- dc.SetPen(wx.BLACK_PEN)
+ dc.SetPen(MiterPen(wx.BLACK))
dc.SetBrush(wx.WHITE_BRUSH)
if getattr(dc, "printing", False):