[wx-dev] [MacOS] How to force an app to foreground?
Stefan.Neis at t-online.de
Stefan.Neis at t-online.de
Tue Feb 5 04:43:11 PST 2008
Robin Dunn wrote:
> I have this code in wxPython in a function that tests if the "Display"
> is available (which varies based on platform as to what exactly the
> display is of course) and the code I copied it from also raised the
> application to the front so I did that too.
Thanks a lot, that's exactly what I needed - working very nicely.
> I've been thinking of moving this to wxMac's wxApp, or someplace
> else suitable, but I haven't looked into doing that yet. Then it
could
> also do the same for other times you can't use "open" on the bundle.
This seems like a good idea to me - I really don't see, when would
you _not_ want to execute that code; actually I'd even go as far as
saying it's an annoying _bug_ in MacOS that this isn't happening
by default ... ;-)
Many thanks,
Stefan
More information about the wx-dev
mailing list