Bug in wxMSW2-8.2 in src/msw/treectrl.cpp
Fabian Cenedese
Cenedese at indel.ch
Tue Apr 10 00:14:52 PDT 2007
>>AG> 2nd: I found another bug that shows in the treectrl-sample
>>AG> AG> To reproduce it: Use the multiple-selection-mode in the treectrl sample. AG> Selecta an item and then deselect it by ctrl-clicking on it. Be sure to AG> turn off the edit-mode before.
>>AG> The Item is deselected, but no event is shown.
>> I don't see it (with HEAD, not 2.8, but I don't think anything changed
>>since then). I start the sample, toggle the selection mode, expand the
>>root, then select all children and Ctrl-Click one of them -- and I do get
>>selection changing and changed events. Moreover, I get 2 of them for some
>>reason, one for an invalid item and another one for the one I just clicked.
>>The extra invalid item event is still a problem but I don't understand why
>>are we seeing different things. I'm testing under Windows 2003, which OS do
>>you use?
>I´m on WinXP home. I know that the toolbar behaves different between Windows-Versions, so it might be that the treectrl behaves differently, too.
I tried this with wxMSW-2.8.0, "Win32 Unicode Debug" on Win XP Pro SP2.
I only see this error:
click an item to select it -> events
ctrl-click another item to select it -> events
ctrl-click the same item again to deselect it -> no events
The same item can now be repeatedly ctrl-clicked without generating an event.
I also see the invalid item.
HTH
bye Fabi
More information about the wx-users
mailing list