X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8b7a961ff4ec4a57b2388c15277f55fc41b4deb..c8f144761c1e637f27a838f22da5c3a9f6c27fd4:/utils/wxrc/wxrc.cpp diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index f36768d150..79d7540fc3 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -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);