20070511 test build uploaded

I have a strange issue with the demo on my w2k, py25 box.

In the left tree of the demo, the bold text is not completely
written. It does not seem to be a refreshing issue. Minimizing,
maximizing, hidding the demo or toying with the left pane width
do not help, a part of the text is simply missing as it is when
the demo is freshly opened.

Screeshot available here: http://spinecho.ifrance.com/demo.png

Jean-Michel Fauth, Switzerland

jmf wrote:

I have a strange issue with the demo on my w2k, py25 box.

In the left tree of the demo, the bold text is not completely
written. It does not seem to be a refreshing issue. Minimizing,
maximizing, hidding the demo or toying with the left pane width
do not help, a part of the text is simply missing as it is when
the demo is freshly opened.

This is an old bug in the old native treectrl. I thought we had a workaround in place in wxTreeCtrl but apparently that has changed or been removed... Basically the tree is clipping the drawing of the text as if the item had the default font, not the actual font that it is drawing with. So if the label is bigger because of bolding or using a different point size, the tail end of it is never drawn. I'll put a workaroud in the demo so it won't change the font on Windows on pre-XP systems.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!