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:
@@ -368,7 +368,7 @@ private:
|
|||||||
class WXDLLEXPORT wxLogPassThrough : public wxLogChain
|
class WXDLLEXPORT wxLogPassThrough : public wxLogChain
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxLogPassThrough() : wxLogChain(this) { }
|
wxLogPassThrough();
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -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
|
// Global functions/variables
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user