fixed VC++ warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-12 00:08:53 +00:00
parent 63166611fb
commit 93d4c1d03b
2 changed files with 19 additions and 1 deletions

View File

@@ -615,6 +615,24 @@ void wxLogChain::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
}
}
// ----------------------------------------------------------------------------
// wxLogPassThrough
// ----------------------------------------------------------------------------
#ifdef __VISUALC__
// "'this' : used in base member initializer list" - so what?
#pragma warning(disable:4355)
#endif // VC++
wxLogPassThrough::wxLogPassThrough()
: wxLogChain(this)
{
}
#ifdef __VISUALC__
#pragma warning(default:4355)
#endif // VC++
// ============================================================================
// Global functions/variables
// ============================================================================