wxTreeCtrl limited to approx 2048 nodes

In-Reply-To: <memo.929831@cix.compulink.co.uk>

One of the problems is that each element in the tree retains its y
position in a "short" member, i.e. 16 bits. This is in
wxGenericTreeItem::m_y.

This had already been fixed in the latest wxWindows source.

Making m_y an int fixed up the scrolling problem, but the
vertical lines were still drawn oddly.

I've submitted a wxWindows patch for this:

https://sourceforge.net/tracker/?func=detail&atid=309863&aid=704995&group_
id=9863

It seemed to be a problem with drawing really long lines in MS Windows.

Hugh