[wxPython-mac] problem with wxpython not error output

Robin Dunn robin at alldunn.com
Tue Sep 18 11:40:16 PDT 2007


Kevin Ollivier wrote:
> Hi Robin,
> 
> On Sep 18, 2007, at 10:57 AM, Robin Dunn wrote:
> 
>> Christopher Barker wrote:
>>> Robin Dunn wrote:
>>>>> but i can't see error messages ..
>>>> You can change the redirection behavior by how you instantiate the 
>>>> app object:
>>> This is such a common issue that I have to think it's be better to 
>>> change the default in the wx.App() constructor to False.
>>
>> Yep, that's the plan for 2.9.
> 
> BTW, any reason we can't have a wx.App method to change it, say calling 
> it from OnInit, where we know the GUI capabilities will already be set up?

There already are methods for it.  app.RedirectStdio(filename=None) and 
app.RestoreStdio()


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





More information about the wxpython-mac mailing list