https://bugzilla.novell.com/show_bug.cgi?id=436790

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=436790#c8


Jonathan Pobst <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #8 from Jonathan Pobst <[EMAIL PROTECTED]>  2008-11-04 09:17:51 MST 
---
I modified my above test case to override OnDrawItem, and it prints the same as
handling the event on .net.  That is, it gets passed -1.

I think John is right.  You are probably overriding the OnDrawItem on a
ComboBox that is Normal mode.  In this case, the override should never be
called, but on Mono it is.

This is fixed in r117892.

2008-11-04  Jonathan Pobst  <[EMAIL PROTECTED]>

        * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
        mode.  Based on a patch by John Mortlock.
        [Fixes bug #436790]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to