[Mono-bugs] [Bug 436790] ComboBox.OnDrawItem() invoked with useless data

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 22 07:34:01 EDT 2008


User johnm at hlaustralia.com.au added comment

--- Comment #4 from John Mortlock <johnm at hlaustralia.com.au>  2008-10-22 05:33:59 MDT ---
Created an attachment (id=247119)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247119)
Proposed Patch

Seems the problem may be that .NET does not call OnDrawItem unless the DrawMode
is set to an OwnerDraw mode.

You can see this if you modify your test case to change the draw mode from a
button on the main form, you shouldn't get any negative indexes.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list