[Mono-bugs] [Bug 506882] Subclassing class with protected methods should allow access in IronPython
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 25 23:27:44 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=506882
User dblank at cs.brynmawr.edu added comment
http://bugzilla.novell.com/show_bug.cgi?id=506882#c3
Doug Blank <dblank at cs.brynmawr.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|dblank at cs.brynmawr.edu |
--- Comment #3 from Doug Blank <dblank at cs.brynmawr.edu> 2009-05-25 21:27:43 MDT ---
Thanks for looking at this! I'm not sure how much it can be reduced, as this is
a dynamic issue. Do you have a way of stepping with a debugger? I suspect that
it is a reflection error in the last line of the script. You can enter the
lines one at a time so that you could trace the last line.
I do know that the error is the same one that you get under .NET if you don't
subclass the Form, like this:
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import *
f = Form()
f.SetStyle(ControlStyles.UserPaint, True)
However, subclassing the Form should allow this to work.
--
Configure bugmail: http://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