#if !USE_SHARED_LIBRARY
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
IMPLEMENT_CLASS(wxXLPHelpClient, wxDDEClient)
IMPLEMENT_CLASS(wxXLPHelpConnection, wxDDEConnection)
#else
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)
{
}
if (!helpFile || !helpHost || helpRunning)
return FALSE;
#endif
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
if (!helpFile || helpRunning)
return FALSE;
#endif
char server[32];
sprintf(server, "%d", helpServer);
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
// Only one instance of wxHelp under Windows.
// See if there's already an instance of wxHelp
if ((helpConnection = (wxXLPHelpConnection *)helpClient.MakeConnection(helpHost, server, "WXHELP")))