From 74e67db7950669cc9bb6e2e2d6e535cc85f2c665 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Jul 2009 16:06:46 +0000 Subject: [PATCH] update IfaceCheckLog definition after wxLog::DoLogXXX() changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/ifacecheck/src/ifacecheck.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index 1ca155fc56..a04ce71dbc 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -75,15 +75,12 @@ class IfaceCheckLog : public wxLog public: IfaceCheckLog() {} - void DoLog(wxLogLevel, const wxString& msg, time_t) + virtual void DoLogText(const wxString& msg) { // send all messages to stdout (normal behaviour is to sent them to stderr) - wxPrintf(msg); - wxPrintf("\n"); - Flush(); + wxPuts(msg); + fflush(stdout); } - - wxSUPPRESS_DOLOG_HIDE_WARNING() }; class IfaceCheckApp : public wxAppConsole -- 2.50.0