Dragable Items in a wxListBox

Hi all,
how can I make the items in a wxListBox dragable, so it is possible to rearrange each item's position?

Using wxPython 2.3.3.2 with python 2.2.2 under winXP

Amos Joshua wrote:

Hi all,
how can I make the items in a wxListBox dragable, so it is possible to rearrange each item's position?

There is no built in support for it, although you may be able to catch the raw mouse events and manipulate the listbox yourself. It should be doable on Win32, but I have less hope for wxGTK and wxMac.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

> Amos Joshua wrote:
>
>> Hi all,
>> how can I make the items in a wxListBox dragable, so it is possible
>> to rearrange each item's position?
>
> There is no built in support for it, although you may be able to catch
> the raw mouse events and manipulate the listbox yourself. It should
> be doable on Win32, but I have less hope for wxGTK and wxMac.

Thanks, I might try that.