use wxLog::Log() instead of ugly cast

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-03-07 14:25:38 +00:00
parent 03511e1596
commit 9be5555cde

View File

@ -240,10 +240,7 @@ private:
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
{