]> git.saurik.com Git - wxWidgets.git/commitdiff
update IfaceCheckLog definition after wxLog::DoLogXXX() changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Jul 2009 16:06:46 +0000 (16:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Jul 2009 16:06:46 +0000 (16:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/ifacecheck/src/ifacecheck.cpp

index 1ca155fc565b2b6f77978d6afc2a1b0dd452a714..a04ce71dbc75d714e58985beb4b012399e163760 100644 (file)
@@ -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