now outputs errors to stderr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
82ca6dbcf4
commit
cb0b3950ff
@ -98,6 +98,12 @@ int XmlResApp::OnRun()
|
||||
{ wxCMD_LINE_NONE }
|
||||
};
|
||||
|
||||
#if wxUSE_GUI
|
||||
// VS: I need reasonable output to console from wxCmdLineParser
|
||||
wxLog::SetTimestamp(NULL);
|
||||
delete wxLog::SetActiveTarget(new wxLogStderr);
|
||||
#endif
|
||||
|
||||
wxXmlDocument::AddHandler(new wxXmlIOHandlerBinZ);
|
||||
|
||||
wxCmdLineParser parser(cmdLineDesc, argc, argv);
|
||||
|
@ -98,6 +98,12 @@ int XmlResApp::OnRun()
|
||||
{ wxCMD_LINE_NONE }
|
||||
};
|
||||
|
||||
#if wxUSE_GUI
|
||||
// VS: I need reasonable output to console from wxCmdLineParser
|
||||
wxLog::SetTimestamp(NULL);
|
||||
delete wxLog::SetActiveTarget(new wxLogStderr);
|
||||
#endif
|
||||
|
||||
wxXmlDocument::AddHandler(new wxXmlIOHandlerBinZ);
|
||||
|
||||
wxCmdLineParser parser(cmdLineDesc, argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user