Fixed CustomToolTip
authorLaurent Bessard
Fri, 24 May 2013 11:17:35 +0200
changeset 1172 dff0a4e40808
parent 1171 a506e4de8f84
child 1173 ad09b4a755ce
Fixed CustomToolTip
controls/CustomToolTip.py
controls/__init__.py
--- 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)
         
--- a/controls/__init__.py	Thu May 23 22:22:53 2013 +0200
+++ b/controls/__init__.py	Fri May 24 11:17:35 2013 +0200
@@ -40,3 +40,4 @@
 from FolderTree import FolderTree
 from LogViewer import LogViewer
 from CustomStyledTextCtrl import CustomStyledTextCtrl
+from CustomToolTip import CustomToolTip