controls/PouInstanceVariablesPanel.py
changeset 1754 63f4af6bf6d9
parent 1749 d73b64672238
child 1768 691083b5682a
equal deleted inserted replaced
1753:19f19c66b67e 1754:63f4af6bf6d9
   143         self.Bind(wx.EVT_BUTTON, self.OnDebugButtonClick,
   143         self.Bind(wx.EVT_BUTTON, self.OnDebugButtonClick,
   144                 self.DebugButton)
   144                 self.DebugButton)
   145 
   145 
   146         self.VariablesList = CustomTreeCtrlWithRightImage(self,
   146         self.VariablesList = CustomTreeCtrlWithRightImage(self,
   147               style=wx.SUNKEN_BORDER,
   147               style=wx.SUNKEN_BORDER,
   148               agwStyle=CT.TR_NO_BUTTONS              |
   148               agwStyle=CT.TR_NO_BUTTONS |
   149                        CT.TR_SINGLE                  |
   149                        CT.TR_SINGLE |
   150                        CT.TR_HAS_VARIABLE_ROW_HEIGHT |
   150                        CT.TR_HAS_VARIABLE_ROW_HEIGHT |
   151                        CT.TR_HIDE_ROOT               |
   151                        CT.TR_HIDE_ROOT |
   152                        CT.TR_NO_LINES                |
   152                        CT.TR_NO_LINES |
   153                        getattr(CT, "TR_ALIGN_WINDOWS_RIGHT", CT.TR_ALIGN_WINDOWS))
   153                        getattr(CT, "TR_ALIGN_WINDOWS_RIGHT", CT.TR_ALIGN_WINDOWS))
   154         self.VariablesList.SetIndent(0)
   154         self.VariablesList.SetIndent(0)
   155         self.VariablesList.SetSpacing(5)
   155         self.VariablesList.SetSpacing(5)
   156         self.VariablesList.DoSelectItem = lambda *x, **y: True
   156         self.VariablesList.DoSelectItem = lambda *x, **y: True
   157         self.VariablesList.Bind(CT.EVT_TREE_ITEM_ACTIVATED,
   157         self.VariablesList.Bind(CT.EVT_TREE_ITEM_ACTIVATED,