parameters: (self, evt)
docstring: Execute a single button press action when the Return key is pressed
          and this control has the focus.
          @param evt: wx.EVT_KEY_UP
docstring_summary: Execute a single button press action when the Return key is pressed
          and this control has the focus.
          @param evt: wx.EVT_KEY_UP
docstring_tokens: Execute a single button press action when the Return key is pressed and this control has the focus . @param evt : wx . EVT_KEY_UP
function: def OnKeyUp(self, evt):
          """Execute a single button press action when the Return key is pressed
          and this control has the focus.
          @param evt: wx.EVT_KEY_UP
  
          """
          if evt.GetKeyCode() == wx.WXK_SPACE:
              self._SetState(PLATE_PRESSED)
              self.__PostEvent()
              wx.CallLater(100, self._SetState, PLATE_HIGHLIGHT)
          else:
              evt.Skip()
function_tokens: def OnKeyUp ( self , evt ) : if evt . GetKeyCode ( ) == wx . WXK_SPACE : self . _SetState ( PLATE_PRESSED ) self . __PostEvent ( ) wx . CallLater ( 100 , self . _SetState , PLATE_HIGHLIGHT ) else : evt . Skip ( )