Fixing bug preventing drag'n drop of located variables in location cell of variable panel grid
--- 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)