From: Vadim Zeitlin Date: Wed, 3 Jun 1998 16:34:39 +0000 (+0000) Subject: bug preventing compilation of wxLogGui under !Windows corrected X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/884d770ab530ad81943366cd6c1588d9c0602b38 bug preventing compilation of wxLogGui under !Windows corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index d523a74f5d..5f9ac6c643 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -454,8 +454,8 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString) OutputDebugString("\n\r"); #else //!WIN32 // send them to stderr - printf(stderr, level == Trace ? "Trace: %s\n" - : "Debug: %s\n", szString); + fprintf(stderr, level == wxLOG_Trace ? "Trace: %s\n" + : "Debug: %s\n", szString); fflush(stderr); #endif // WIN32 #endif