X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38009d396d9b48d4ef8dad86921a870481742d33..df1eb533d81423035acc214b538aabed49c66796:/src/msw/helpwin.cpp diff --git a/src/msw/helpwin.cpp b/src/msw/helpwin.cpp index 9e1e6a5997..068165f21e 100644 --- a/src/msw/helpwin.cpp +++ b/src/msw/helpwin.cpp @@ -26,10 +26,10 @@ #include "wx/msw/helpwin.h" -#if USE_HELP +#if wxUSE_HELP #include -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #include #endif @@ -96,7 +96,7 @@ bool wxWinHelpController::DisplaySection(int section) bool wxWinHelpController::DisplayBlock(long block) { // Use context number -- a very rough equivalent to block id! - if (!m_helpFile) return FALSE; + if (m_helpFile == "") return FALSE; char buf[_MAXPATHLEN]; strcpy(buf, m_helpFile); @@ -145,4 +145,4 @@ void wxWinHelpController::OnQuit(void) { } -#endif // USE_HELP +#endif // wxUSE_HELP