]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
Warning and build fixes focused with Borland and Watcom.
[wxWidgets.git] / src / common / log.cpp
index 258d141ae91a7f4e02efbeea2ce698e63cec58a6..98256b16e0ea3275ecf10230a4e0b1235d440145 100644 (file)
@@ -367,10 +367,6 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const wxChar *szFormat, ...)
 // wxLog class implementation
 // ----------------------------------------------------------------------------
 
-wxLog::wxLog()
-{
-}
-
 wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size)
 {
     wxChar *oldbuf = s_szBuf;
@@ -559,7 +555,7 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
         if ( traits && !traits->HasStderr() )
         {
             wxMessageOutputDebug dbgout;
-            dbgout.Printf(_T("%s"), str.c_str());
+            dbgout.Printf(_T("%s\n"), str.c_str());
         }
     }
 }