From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Wed, 8 Jul 2009 16:06:46 +0000 (+0000)
Subject: update IfaceCheckLog definition after wxLog::DoLogXXX() changes
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/74e67db7950669cc9bb6e2e2d6e535cc85f2c665

update IfaceCheckLog definition after wxLog::DoLogXXX() changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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