application not finalizing when top window closes
personaje
personaje at gmail.com
Tue Apr 22 07:23:02 PDT 2008
On Tue, Apr 22, 2008 at 4:14 AM, Chris Borgolte <wx at delta-h.de> wrote:
> > wxLog::SetActiveTarget(wxGUIAppTraits::CreateLogTarget());
> > wxLogWindow *plogwin = new wxLogWindow(NULL,wxT("Log"));
> >
> Try replacing NULL with a pointer to your main frame.
That didn't work, the main window is created after the traits and so
the log window gets created before the maintool.
I tried to reparent plogwin->GetFrame()->Reparent but GTK aborts
any other ideas?
regards
More information about the wx-users
mailing list