[wxPython-users] Re: wPython in Action: example chapter 1

Robin Dunn robin at alldunn.com
Fri Apr 20 17:11:42 PDT 2007


7stud wrote:
>> Right - I am pretty sure what you want is:
>>
>>       wx.App.__init__(self, False)
>>
> 
> Darn!  Somewhere I read that the default value for 'redirect'
> is False.  However, when I explicitly use False, the error messages
> go to my console window.  Thanks!

It depends on platform.  It's False on wxGTK because people are 
typically launching from a console window there, at least during 
development.  On Windows and Mac it defaults to True because folks are a 
little more likely to launch with a double click of the .py[w] file.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list