controls/DebugVariablePanel.py
changeset 898 6b2958f04f30
parent 895 f5a28011d551
child 902 ffa8ee5ee2fe
equal deleted inserted replaced
897:3cd39bc7dbad 898:6b2958f04f30
   455         return ReleaseVariableFunction
   455         return ReleaseVariableFunction
   456     
   456     
   457     def OnVariablesGridCellLeftClick(self, event):
   457     def OnVariablesGridCellLeftClick(self, event):
   458         if event.GetCol() == 0:
   458         if event.GetCol() == 0:
   459             row = event.GetRow()
   459             row = event.GetRow()
   460             data = wx.TextDataObject(str(self.Table.GetValueByName(row, "Variable")))
   460             data = wx.TextDataObject(str((self.Table.GetValueByName(row, "Variable"), "debug")))
   461             dragSource = wx.DropSource(self.VariablesGrid)
   461             dragSource = wx.DropSource(self.VariablesGrid)
   462             dragSource.SetData(data)
   462             dragSource.SetData(data)
   463             dragSource.DoDragDrop()
   463             dragSource.DoDragDrop()
   464         event.Skip()
   464         event.Skip()
   465     
   465