parameters: (self, dc=None)
docstring: Draws the markers on top of the background bitmap.
  
          :param `dc`: an instance of :class:`DC`.
docstring_summary: Draws the markers on top of the background bitmap.
docstring_tokens: Draws the markers on top of the background bitmap .
function: def DrawMarkers(self, dc=None):
          """
          Draws the markers on top of the background bitmap.
  
          :param `dc`: an instance of :class:`DC`.
          """
  
          if dc is None:
              dc = wx.ClientDC(self)
  
          oldPen, oldBrush, oldMode = dc.GetPen(), dc.GetBrush(), dc.GetLogicalFunction()
          dc.SetPen(wx.WHITE_PEN)
          dc.SetBrush(wx.TRANSPARENT_BRUSH)
          dc.SetLogicalFunction(wx.XOR)
          
          dc.DrawRectangleRect(self._mainDialog._currentRect)
          RestoreOldDC(dc, oldPen, oldBrush, oldMode)
function_tokens: def DrawMarkers ( self , dc = None ) : if dc is None : dc = wx . ClientDC ( self ) oldPen , oldBrush , oldMode = dc . GetPen ( ) , dc . GetBrush ( ) , dc . GetLogicalFunction ( ) dc . SetPen ( wx . WHITE_PEN ) dc . SetBrush ( wx . TRANSPARENT_BRUSH ) dc . SetLogicalFunction ( wx . XOR ) dc . DrawRectangleRect ( self . _mainDialog . _currentRect ) RestoreOldDC ( dc , oldPen , oldBrush , oldMode )