controls/VariablePanel.py
changeset 595 15df411e9463
parent 591 4d6719c51f05
child 600 7db729686416
--- a/controls/VariablePanel.py	Fri Dec 09 10:06:44 2011 +0100
+++ b/controls/VariablePanel.py	Fri Dec 09 10:09:50 2011 +0100
@@ -451,6 +451,7 @@
               False, 'Sans'))
         self.VariablesGrid.SetSelectionBackground(wx.WHITE)
         self.VariablesGrid.SetSelectionForeground(wx.BLACK)
+        self.VariablesGrid.SetDropTarget(VariableDropTarget(self))
         if wx.VERSION >= (2, 6, 0):
             self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnVariablesGridCellChange)
             self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)