what does 0 mean in MyApp(0)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

what does 0 mean in MyApp(0)

From: Alex <lidenalex@yahoo.se>
Date: Fri Sep 30 2005 - 16:15:33 CEST

I'm looking at a tutorial with the code below

from wxPython.wx import *

class MyApp(wxApp):
    def OnInit(self):
        frame = wxFrame(NULL, -1, "winApp", size = (800,640))
        frame.Show(true)
        self.SetTopWindow(frame)
        return true

app = MyApp(0)
app.MainLoop()

Everything is explained nicely except the zero parameter in MyApp(0).
Anybody knows what that zero refers to?

Alex
Received on Sat Oct 15 04:00:13 2005