controls/DebugVariablePanel/DebugVariableViewer.py
changeset 1841 9fd29e8b1393
parent 1831 56b48961cc68
child 1847 6198190bc121
equal deleted inserted replaced
1840:cf5ef4c0deff 1841:9fd29e8b1393
    81 
    81 
    82     def InitHighlightPensBrushes(self):
    82     def InitHighlightPensBrushes(self):
    83         """
    83         """
    84         Init global pens and brushes
    84         Init global pens and brushes
    85         """
    85         """
    86         global HIGHLIGHT
       
    87         if not HIGHLIGHT:
    86         if not HIGHLIGHT:
    88             HIGHLIGHT['DROP_PEN'] = wx.Pen(wx.Colour(0, 128, 255))
    87             HIGHLIGHT['DROP_PEN'] = wx.Pen(wx.Colour(0, 128, 255))
    89             HIGHLIGHT['DROP_BRUSH'] = wx.Brush(wx.Colour(0, 128, 255, 128))
    88             HIGHLIGHT['DROP_BRUSH'] = wx.Brush(wx.Colour(0, 128, 255, 128))
    90             HIGHLIGHT['RESIZE_PEN'] = wx.Pen(wx.Colour(200, 200, 200))
    89             HIGHLIGHT['RESIZE_PEN'] = wx.Pen(wx.Colour(200, 200, 200))
    91             HIGHLIGHT['RESIZE_BRUSH'] = wx.Brush(wx.Colour(200, 200, 200))
    90             HIGHLIGHT['RESIZE_BRUSH'] = wx.Brush(wx.Colour(200, 200, 200))