fix session runlog
authordimbor <i@dimbor.ru>
Tue, 7 Feb 2017 17:59:40 +0000 (20:59 +0300)
committerdimbor <i@dimbor.ru>
Tue, 7 Feb 2017 17:59:40 +0000 (20:59 +0300)
MySession.cpp

index 9b0ff060b9372f0e0126f2f318a72097b4f77398..51fc6d998f4a67e2d6a2173581ff88c61a503f66 100644 (file)
@@ -166,12 +166,12 @@ wxString cygPath(const wxString &dir, const wxString &file)
 class RunLog : public wxLogChain
 {
     public:
-        RunLog(wxLog *logger) :wxLogChain(logger) { }
+        RunLog(wxLog *logger) :wxLogChain(logger) { SetVerbose(true); }
 
-        void LogRecord(wxLogLevel level, const wxString & szString, const wxLogRecordInfo & info)
+        void DoLogRecord(wxLogLevel level, const wxString & szString, const wxLogRecordInfo & info)
         {
             PassMessages(level <= minlevel);
-            wxLogChain::LogRecord((level > minlevel) ? minlevel : level, szString, info);
+            wxLogChain::DoLogRecord((level > minlevel) ? minlevel : level, szString, info);
         }
     private:
         static const wxLogLevel minlevel = wxLOG_Message;