I found the cause of the splitter window crash on Windows, and I have
a patch to wxTreeCtrl and the splitter gizmo, which I'll be submitting
as soon as I can get it cleaned up.
Robin, you mentioned that a new version is coming out Real Soon Now.
Is there time to get the patch submitted and applied before then?
We're in crunch mode on a project right now, and I'd rather not ship a
private build of wxWindows/wxPython if it can be rolled into the
official release before we ship.
In case anyone's curious, the problem was that when you tell a
wxTreeCtrl to hide its root, it maintains a 'fake' root item that
isn't a valid item id from the Windows tree control. If you try to
get, say, the bounding rectangle of that item, however, it just passes
the junk handle to Windows, and Windows _usually_ passes back an
error, which is fine--except in some cases (I think before the control
is initially painted as well as while the control is being painted),
passing an invalid ID to Windows causes a crash in the native tree
control...
The patch changes the MSW implementation of wxTreeCtrl to _never_ ask
for the bounding box of a virtual root node, and changes
wxRemotelyScrolledTreeCtrl to ask for the bounding box of the first
visible item, not the root item, when figuring out how to set its
parent's scrollbars.
I found the cause of the splitter window crash on Windows, and I have
a patch to wxTreeCtrl and the splitter gizmo, which I'll be submitting
as soon as I can get it cleaned up.
Robin, you mentioned that a new version is coming out Real Soon Now.
Is there time to get the patch submitted and applied before then?
If it is done today, and if it doesn't break binary compatibility of the core C++ classes. (I can still include it in the wxPython build of course, but it makes keeping things updated and in sync more tricky as time goes on...)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I found the cause of the splitter window crash on Windows, and I have
a patch to wxTreeCtrl and the splitter gizmo, which I'll be submitting
as soon as I can get it cleaned up. Robin, you mentioned that a new version is coming out Real Soon Now.
Is there time to get the patch submitted and applied before then?
If it is done today, and if it doesn't break binary compatibility of the core C++ classes. (I can still include it in the wxPython build of course, but it makes keeping things updated and in sync more tricky as time goes on...)
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I found the cause of the splitter window crash on Windows, and I have
a patch to wxTreeCtrl and the splitter gizmo, which I'll be submitting
as soon as I can get it cleaned up. Robin, you mentioned that a new version is coming out Real Soon Now.
Is there time to get the patch submitted and applied before then?
If it is done today, and if it doesn't break binary compatibility of the core C++ classes. (I can still include it in the wxPython build of course, but it makes keeping things updated and in sync more tricky as time goes on...)
BTW, if you are interested in tracking the progress of the release and testing prerelease binaries please join the wxPython-dev mail list:
wxPython-dev-subscribe@lists.wxwindows.org
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!