X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..607d9061788c0277705f9c9c16ca00a22b019918:/src/generic/helpxlp.cpp diff --git a/src/generic/helpxlp.cpp b/src/generic/helpxlp.cpp index 0631f6d80a..0487ac5cfd 100644 --- a/src/generic/helpxlp.cpp +++ b/src/generic/helpxlp.cpp @@ -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) { }