Thanks Robin, worked great.
-Kyle Rickey
···
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Wednesday, January 23, 2008 5:34 PM
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] Redirected stdio for wxTaskbarIcon
Rickey, Kyle W wrote:
I've created an app that's only class is that of wx.TaskbarIcon, and I
would like to have it redirect stdio to the default window. When I do
so, it works just fine, but when I call my exit method, the stdio
frame
doesn't get destroyed and the app keeps running. Do I need to create
my
own class for redirecting stdio, or am I missing something simple? MSW
XP, wxpython 2.8.7.1, python 2.5
wx.GetAp().stdioWin.frame.Close()
You'll want to verify that the stdioWin and frame attributes exist and
are not None.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org