What happens inside this function : wxLog_SetActiveTarget
is there any redirection of sys.stdin and/or sys.stdout - or something more
/ others ?
What happens inside this function : wxLog_SetActiveTarget
is there any redirection of sys.stdin and/or sys.stdout - or something more
/ others ?
What happens inside this function : wxLog_SetActiveTarget
is there any redirection of sys.stdin and/or sys.stdout - or something
more
/ others ?
No it is pure C++, not Python aware. It simply sets the destination for any
further log messages.
wxLog *wxLog::SetActiveTarget(wxLog *pLogger)
{
if ( ms_pLogger != NULL ) {
// flush the old messages before changing because otherwise they
might
// get lost later if this target is not restored
ms_pLogger->Flush();
}
wxLog *pOldLogger = ms_pLogger;
ms_pLogger = pLogger;
return pOldLogger;
}
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!