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:
parent
03511e1596
commit
9be5555cde
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user