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

On 4/10/06 12:11 PM, "Louis Pecora" <[EMAIL PROTECTED]> 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

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to