Hi All,

With the following code I am getting a warning:

DeprecationWarning: Accessing protected method DoubleBuffered from
non-derived type Form

*import clr
clr.AddReference('System.Windows.Forms')
from System import *
from System.Windows.Forms import *
class LDForm(Form):

    def __init__(self):
        self.DoubleBuffered = True
    def __call__(self):
        Application.EnableVisualStyles()
        Application.Run(self)

LDForm()()*

Is this related to the import changes? I've not been doing much Pythoning
lately so sorry if I have missed something...

Thanks,
Davy

-- 
Davy Mitchell
Blog - http://daftspaniel.blogspot.com
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel http://needgod.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to