# HG changeset patch
# User Laurent Bessard
# Date 1368816975 -7200
# Node ID a2f9b44c17c9c3f933599e3eb103b2a5e7a42ba4
# Parent  2ed9675be08dda361a59eb8a76641ffdc62a9088
Fixed bug ProjectTree items label can't be edited

diff -r 2ed9675be08d -r a2f9b44c17c9 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()