controls/CustomToolTip.py
changeset 1172 dff0a4e40808
parent 1170 074e46cdedbc
child 1221 d18ccec78117
--- a/controls/CustomToolTip.py	Thu May 23 22:22:53 2013 +0200
+++ b/controls/CustomToolTip.py	Fri May 24 11:17:35 2013 +0200
@@ -174,10 +174,7 @@
         dc.Clear()
         
         # Set DC drawing style
-        pen = wx.Pen(wx.BLACK)
-        pen.SetJoin(wx.JOIN_MITER)
-        pen.SetCap(wx.CAP_PROJECTING)
-        dc.SetPen(pen)
+        dc.SetPen(wx.BLACK_PEN)
         dc.SetBrush(wx.Brush(wx.Colour(255, 238, 170)))
         dc.SetFont(self.Font)