bug in customtreectrl.py

Hi

Found a bug in customtreectrl (trunk) that causes an exception to be
thrown when drawing an item with a background colour attribute set.

On line 6599:
   item_width = item.GetWidth()-minusicon,
has a trailing comma that shouldn't be there. Removing it fixes the problem.

Dag

Realized this should have been a ticket instead. Submitted

Dag

···

On Fri, Aug 24, 2012 at 2:19 PM, Dag Wastberg <dwastberg@gmail.com> wrote:

Hi

Found a bug in customtreectrl (trunk) that causes an exception to be
thrown when drawing an item with a background colour attribute set.

On line 6599:
   item_width = item.GetWidth()-minusicon,
has a trailing comma that shouldn't be there. Removing it fixes the problem.

Dag