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