parameters: (self, event)
docstring: Issues an Undo command to the current document's command processor.
docstring_summary: Issues an Undo command to the current document's command processor.
docstring_tokens: Issues an Undo command to the current document s command processor .
function: def OnUndo(self, event):
          """
          Issues an Undo command to the current document's command processor.
          """
          doc = self.GetCurrentDocument()
          if not doc:
              return
          if doc.GetCommandProcessor():
              doc.GetCommandProcessor().Undo()
function_tokens: def OnUndo ( self , event ) : doc = self . GetCurrentDocument ( ) if not doc : return if doc . GetCommandProcessor ( ) : doc . GetCommandProcessor ( ) . Undo ( )