Hello
I'm using wxPython2.2 on NT4. I tried to work with a wxTreeCtrl that
represents a filestructure that allows to select more than one entry.
I had to find out about wxTreeItemId.IsOk() and wxTR_LINES_AT_ROOT
by reading the sources. Do I have the wrong documentation? Can I
do something useful with TREE_SEL_CHANGED events when
event.GetItem().IsOk() returns false?
The TREE_SEL_CHANGED event informs me about changes in the
'dotted line'-selection, but how can I change this selection? The
functions Unselect(), UnselectAll() and SetSelection(id) don't affect the
'dotted-line' and change only the 'blue' selections. As a result my
event-handlers aren't called. Is there a work-around?
Is it somehow possible to left-drag multiple items? Currently I can only
right-drag multiple items because a left-drag unselects the items first.
It would be nice if my drop-targets would accept filenames from internal _and_
external sources. But wxFileDataObject.AddFile() doesn't seem to exist.
(Yes, I'm using windows.) Is it possible to use SetData to store some
filenames?
Inheriting from wxFileDataObject doesn't seem to be possible.
(I can't call the functions from the base-class. (?))
PS: There's a minor bug in the docs:
The wxDataObject constructor needs an argument.
Bye
MEMO 08/10/00 11:11:55 (1.29 KB)