opening extra frames

Chris Barker and Robin Dunn wrote:

Robin Dunn wrote:

> Schoenborn, Oliver wrote:
> > Hello, what's the recommended way of opening extra independent windows
> > (frames, e.g. a help window, etc) for an application: - in the event
> > callback that requires extra frame, create a new wxFrame in a
> > separate thread and return
>
> Just create and show the other frame(s), no need for threads. They all
> can share the same event loop just fine.

As another note: you CAN'T create a wxFrame in another thread...all
wxGUI calls must be made from the same thread.

Thank you both for your feedback. I vaguely remembered something like that
but can't remember where I read it. Cheers,
Oliver