git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61347
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- wxSUPPRESS_DOLOG_HIDE_WARNING()
- wxSUPPRESS_DOLOGSTRING_HIDE_WARNING()
-
// implement sink functions
// implement sink functions
- virtual void DoLog(wxLogLevel level, const wxString& str, time_t t)
+ virtual void DoLogTextAtLevel(wxLogLevel level, const wxString& msg)
- // don't put trace messages into listbox or we can get into infinite
- // recursion
if ( level == wxLOG_Trace )
{
if ( m_logOld )
if ( level == wxLOG_Trace )
{
if ( m_logOld )
- m_logOld->Log(level, str, t);
- }
- else
- {
- wxLog::DoLog(level, str, t);
+ m_logOld->LogTextAtLevel(level, msg);
+ return;
- }
-
- virtual void DoLogString(const wxString& str, time_t WXUNUSED(t))
- {
- wxString msg;
- TimeStamp(&msg);
- msg += str;
#ifdef __WXUNIVERSAL__
m_lbox->AppendAndEnsureVisible(msg);
#ifdef __WXUNIVERSAL__
m_lbox->AppendAndEnsureVisible(msg);