Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78813 --- shadow/78813 2006-07-10 19:35:11.000000000 -0400 +++ shadow/78813.tmp.2721 2006-07-11 03:01:09.000000000 -0400 @@ -61,6 +61,20 @@ case } } ------- Additional Comments From [EMAIL PROTECTED] 2006-07-10 19:35 ------- Please don't use pastebin for code samples. + +------- Additional Comments From [EMAIL PROTECTED] 2006-07-11 03:01 ------- +Sorry for using pastebin (having problems with my current connection, +I hope to get it fixed in these days :| ). + +About the bug, I think the problem can be found in +ListBox.CollectionChanged () internal method. To be precise, in : + +if (!IsHandleCreated || suspend_layout) + return; + +The added items aren't sorted, because the Handle hasn't been created +at the time. I tried calling Sort () before this check, and _appears_ +to work just fine. I will take a deeper look in the meantime. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
