[wx 2.8.0, WinXP, VC 7.1] crash in wxTreeCtrl with wxTR_MULTIPLE style

Alexander Matiyevsky alex at geofusion.com
Tue Feb 13 17:35:28 PST 2007


Hi,

 =


I have discovered a crash bug in wxTreeCtrl with wxTR_MULTIPLE style. To
reproduce it, use treectrl example:

 =


1. Start treectrl example (in Debug or Debug DLL configuration)

2. Go to Style menu and select =93Toggle selection mode=94.

3. Open Root item and select one of the items.

4. Then try to drag-and-drop the selected item - program will crash in
treectrl.cpp on line 2757:

wxASSERT_MSG( !m_dragImage, _T("starting to drag once again?") );

 =


There is a related problem:

do steps 1 =96 3 above

4. Select the same item again to get into editing label mode.

5. Then just move passive mouse outside the item label =96 the system will
generate =93BeginDrag=94 event even so no mouse buttons are pressed.

 =


Are there any fixes for it?

 =


Thanks for your help.

 =


Best Regards,

 =


Alexander Matiyevsky
GeoFusion, Inc.
831.238.7203 (USA)
alex at geofusion.com
www.geofusion.com <http://www.geofusion.com/> =


 =


 =


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070213/a82=
ddc1c/attachment.htm


More information about the wx-users mailing list