On Windows XP, Python 2.6.2, wxPython 2.8.10.1 Ulipad 3.9.
When double click on the Dir Browser, the folder fails to expand. The same
problem can be seen on the wxPython demo TreeCtrl as well.
The fix I found is to "skip" the event of EVT_TREE_ITEM_ACTIVATED.
def OnSelected(self, event):
item = event.GetItem()
if not self.is_ok(item): return
filename = self.get_node_filename(item)
if self.isFile(item):
document = self.mainframe.editctrl.new(filename)
if document:
wx.CallAfter(document.SetFocus)
event.Skip() #added to fix the expand issue
Original issue reported on code.google.com by demaples...@googlemail.com on 17 Jun 2009 at 9:26
Original issue reported on code.google.com by
demaples...@googlemail.com
on 17 Jun 2009 at 9:26