Hi,
I’m trying to sort my columns and it also works, but not for all
entries in the Listctrl. It only works, if my listctrl doesn’t have too
much items.
Code:
I don’t understand why… without my two up and down Pictures and the
without the GetSortImages it works, but only in one direction… Down
Any idea why?
Thank you!
Johannes Schönberger
···
http://paste.pocoo.org/show/95324/
I haven’t looked at your code yet, but I had a similar problem a while back - there’s an evt.Skip() in __OnColClick(self, evt) (in wx.lib.mixins.listctrl) that causes a column click to be processed twice.
I ended up subclassing ListCtrl… fortunately, before my next project, I discovered ObjectListView and haven’t looked back since. A lot of stuff that’s hard to deal with about ListCtrls “just works” with OLV. Try it - you’ll be glad you did…
···
On Sun, Dec 14, 2008 at 6:45 AM, Johannes Schönberger jls@icoost.com wrote:
I don’t understand why… without my two up and down Pictures and the
without the GetSortImages it works, but only in one direction… Down
–
www.fsrtechnologies.com