VC++ warning suppressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-06-22 22:06:42 +00:00
parent 9efd3367c0
commit 8abf40fbb9

View File

@ -66,13 +66,22 @@ IMPLEMENT_CLASS(wxXLPHelpConnection, wxTCPConnection)
IMPLEMENT_CLASS(wxXLPHelpController, wxHelpControllerBase)
#endif
wxXLPHelpController::wxXLPHelpController(void):
helpClient(this)
// suppress annoying warning "'this' used in base member init list" (so what?)
#ifdef _MSC_VER
#pragma warning(disable: 4355)
#endif // Visual C++
wxXLPHelpController::wxXLPHelpController(void)
: helpClient(this)
{
helpFile = ""; helpServer = -1; helpHost = "";
helpRunning = FALSE; helpConnection = NULL;
}
#ifdef _MSC_VER
#pragma warning(default: 4355)
#endif // Visual C++
wxXLPHelpController::~wxXLPHelpController(void)
{
}