X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8abf40fbb9829628647c6c02c2a9b35bb7475b70..520e470fdd0daef09c77938db642e4583933c90d:/src/generic/helpxlp.cpp diff --git a/src/generic/helpxlp.cpp b/src/generic/helpxlp.cpp index 0487ac5cfd..4fd7ed0a2f 100644 --- a/src/generic/helpxlp.cpp +++ b/src/generic/helpxlp.cpp @@ -26,7 +26,7 @@ #include "wx/generic/helpxlp.h" -#if USE_HELP +#if wxUSE_HELP #include #ifdef __X__ @@ -55,7 +55,7 @@ #if !USE_SHARED_LIBRARY -#ifdef __WINDOWS__ +#ifdef __WXMSW__ IMPLEMENT_CLASS(wxXLPHelpClient, wxDDEClient) IMPLEMENT_CLASS(wxXLPHelpConnection, wxDDEConnection) #else @@ -189,7 +189,7 @@ bool wxXLPHelpController::Run(void) if (!helpFile || !helpHost || helpRunning) return FALSE; #endif -#ifdef __WINDOWS__ +#ifdef __WXMSW__ if (!helpFile || helpRunning) return FALSE; #endif @@ -208,7 +208,7 @@ bool wxXLPHelpController::Run(void) 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"))) @@ -263,4 +263,4 @@ bool wxXLPHelpConnection::OnDisconnect(void) return TRUE; } -#endif // USE_HELP +#endif // wxUSE_HELP