Page 1 of 1

wxListBox Drag Reorder

Posted: Wed Jun 05, 2013 10:35 pm
by AndreLDM
Hello there,
My first post here, I swear I did search an answer to this issue before opening this topic :D
My problem is, I need a wxListBox that can reorder its items by just dragging them.
The perfect solution would drag more than one, but one at a time should be fine.
Here is what I was able to do:
The code is messy, any tip is welcome.

Thank you.

Re: wxListBox Drag Reorder

Posted: Fri Jun 07, 2013 1:38 am
by catalin
There is a wxRearrangeList since 2.9.0. If it doesn't help you maybe you can start changing its code.