[wxPython] Focus Problem

Thanks again Paul. I tested app.ProcessIdle() and frame.RemoveChild() and
they both work. I learned a lot today!

Dan

···

-----Original Message-----
From: Paul.Kunysch@DaimlerChrysler.com
[mailto:Paul.Kunysch@DaimlerChrysler.com]
Sent: Monday, January 22, 2001 1:19 PM
To: wxpython-users@lists.sourceforge.net
Subject: Re: [wxPython] Focus Problem

Hi

It works fine here (wx 2.3pre, win2k) so I can't be sure,
but it may have something to do with the fact that it is not
running within MainLoop. The system does some house cleaning
activities during idle time and actually doing the cleanup of
Destroy'd windows is one of them.

You're right. A call to "app.ProcessIdle()" fixes the problem.
(Btw: the call seems to be undocumented.)

Bye

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users