[Pythonmac-SIG] wxPython book. First example misbehaves on my Mac ?? What's happening?

Opstad, Dave dave.opstad at monotypeimaging.com
Mon Apr 10 21:21:31 CEST 2006


On 4/10/06 12:11 PM, "Louis Pecora" <pecora at anvil.nrl.navy.mil> wrote:

> #!/usr/bin/pythonw
> 
> import wx
> 
> class App(wx.App):
>     def OnInit(self):
>         frame = wx.Frame(parent=None, title="BaRe")
>         frame.Show()
>         return true
> 
> app = App()
> app.MainLoop()

I think the return should be True, not true.

Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20060410/fbf6a444/attachment.html 


More information about the Pythonmac-SIG mailing list