Fixed bug ProjectTree items label can't be edited
authorLaurent Bessard
Fri, 17 May 2013 20:56:15 +0200
changeset 1167 a2f9b44c17c9
parent 1166 2ed9675be08d
child 1168 7838595559ba
Fixed bug ProjectTree items label can't be edited
IDEFrame.py
--- a/IDEFrame.py	Fri May 17 20:30:02 2013 +0200
+++ b/IDEFrame.py	Fri May 17 20:56:15 2013 +0200
@@ -521,7 +521,8 @@
         self.ProjectTree = CustomTree(id=ID_PLCOPENEDITORPROJECTTREE,
                   name='ProjectTree', parent=self.ProjectPanel, 
                   pos=wx.Point(0, 0), size=wx.Size(0, 0),
-                  style=wx.TR_HAS_BUTTONS|wx.TR_SINGLE|wx.SUNKEN_BORDER|wx.TR_EDIT_LABELS)
+                  style=wx.SUNKEN_BORDER,
+                  agwStyle=wx.TR_HAS_BUTTONS|wx.TR_SINGLE|wx.TR_EDIT_LABELS)
         self.ProjectTree.SetBackgroundBitmap(GetBitmap("custom_tree_background"),
                                              wx.ALIGN_RIGHT|wx.ALIGN_BOTTOM)
         add_menu = wx.Menu()