update LboxLogger definition after the previous revision changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -229,30 +229,15 @@ public:
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    wxSUPPRESS_DOLOG_HIDE_WARNING()
 | 
			
		||||
    wxSUPPRESS_DOLOGSTRING_HIDE_WARNING()
 | 
			
		||||
 | 
			
		||||
    // 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 )
 | 
			
		||||
                m_logOld->Log(level, str, t);
 | 
			
		||||
                m_logOld->LogTextAtLevel(level, msg);
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            wxLog::DoLog(level, str, t);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    virtual void DoLogString(const wxString& str, time_t WXUNUSED(t))
 | 
			
		||||
    {
 | 
			
		||||
        wxString msg;
 | 
			
		||||
        TimeStamp(&msg);
 | 
			
		||||
        msg += str;
 | 
			
		||||
 | 
			
		||||
        #ifdef __WXUNIVERSAL__
 | 
			
		||||
            m_lbox->AppendAndEnsureVisible(msg);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user