wx.net and pythonnet
Angel Ignacio Colmenares Laguado <[email protected]> Tue, 16 Aug 2005 13:17:53 -0500
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
how can I use wx.net from pythonnet
I'm trying this simple code:
-------------------------------
from CLR.System.Reflection import Assembly
Assembly.LoadWithPartialName("wx.NET")
from CLR import wx
class MyApp(wx.App):
def OnInit(self):
return True
def main():
app = MyApp()
app.MainLoop()
main()
----------------------------
but i get this error:
-----------------------------------
Traceback (most recent call last):
File "C:/desarrollo/mono/wx/myminimal.py", line 20, in -toplevel-
main()
File "C:/desarrollo/mono/wx/myminimal.py", line 17, in main
app = MyApp()
TypeError: cannot instantiate abstract class
-----------------------------------
What is wrong, can u help me?
angel ignacio colmenares laguado
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf