#if wxUSE_GUI
wxMessageBox(s_szBuf, _("Fatal Error"), wxID_OK | wxICON_STOP);
#else
- fprintf(stderr, _("Fatal error: %s\n"), s_szBuf);
+ wxFprintf(stderr, _("Fatal error: %s\n"), s_szBuf);
#endif
abort();
p += 2;
wxVsnprintf(p, len, szFormat, argptr);
-
+
wxLog::OnLog(wxLOG_Trace, s_szBuf, time(NULL));
}
}
m_bHasMessages = FALSE;
}
-wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size = 0 )
+wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size)
{
wxChar *oldbuf = s_szBuf;
result = (inVersion <= block->apiHiVersion);
}
- return result;
+ return result;
}
/* ---------------------------------------------------------------------------