VariablePanel.py
changeset 564 5024d42e1050
parent 561 5c8fa95eb834
child 566 6014ef82a98a
--- a/VariablePanel.py	Thu Sep 22 15:33:31 2011 +0200
+++ b/VariablePanel.py	Fri Sep 23 20:07:40 2011 +0200
@@ -962,7 +962,7 @@
         
         # create browse button
         self.BrowseButton = wx.Button(id=-1, label='...', 
-              name='staticText1', parent=self, pos=wx.Point(0, 0), 
+              name='BrowseButton', parent=self, pos=wx.Point(0, 0), 
               size=wx.Size(30, 0), style=0)
         self.BrowseButton.Bind(wx.EVT_BUTTON, self.OnBrowseButtonClick)
 
@@ -972,7 +972,7 @@
 
     '''
     Custom cell editor control with a text box and a button that launches
-    the BrowseVariableLocationsDialog.
+    the BrowseLocationsDialog.
     '''
     def __init__(self, parent, locations):
         self._init_ctrls(parent)
@@ -1060,7 +1060,7 @@
                                         wx.SIZE_ALLOW_MINUS_ONE)
 
     def Clone(self):
-        return LocationCellEditor(self.Table, self.Locations)
+        return LocationCellEditor(self.Table, self.Controler)
 
 def GetDirChoiceOptions():
     _ = lambda x : x