}
private:
+ wxSUPPRESS_DOLOG_HIDE_WARNING()
+ wxSUPPRESS_DOLOGSTRING_HIDE_WARNING()
+
// implement sink functions
virtual void DoLog(wxLogLevel level, const wxString& str, time_t t)
{
if ( level == wxLOG_Trace )
{
if ( m_logOld )
- {
- // cast is needed to call protected method
- ((LboxLogger *)m_logOld)->DoLog(level, str, t);
- }
+ m_logOld->Log(level, str, t);
}
else
{