controls/CustomToolTip.py
changeset 1172 dff0a4e40808
parent 1170 074e46cdedbc
child 1221 d18ccec78117
equal deleted inserted replaced
1171:a506e4de8f84 1172:dff0a4e40808
   172         # Get buffered paint DC for tool tip
   172         # Get buffered paint DC for tool tip
   173         dc = wx.AutoBufferedPaintDC(self)
   173         dc = wx.AutoBufferedPaintDC(self)
   174         dc.Clear()
   174         dc.Clear()
   175         
   175         
   176         # Set DC drawing style
   176         # Set DC drawing style
   177         pen = wx.Pen(wx.BLACK)
   177         dc.SetPen(wx.BLACK_PEN)
   178         pen.SetJoin(wx.JOIN_MITER)
       
   179         pen.SetCap(wx.CAP_PROJECTING)
       
   180         dc.SetPen(pen)
       
   181         dc.SetBrush(wx.Brush(wx.Colour(255, 238, 170)))
   178         dc.SetBrush(wx.Brush(wx.Colour(255, 238, 170)))
   182         dc.SetFont(self.Font)
   179         dc.SetFont(self.Font)
   183         
   180         
   184         # Draw Tool tip
   181         # Draw Tool tip
   185         dc.BeginDrawing()
   182         dc.BeginDrawing()