X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..cb6827a8c645a883a2d2a7b117a50609d706ccce:/src/msw/helpwin.cpp diff --git a/src/msw/helpwin.cpp b/src/msw/helpwin.cpp index 808a63ffcf..068165f21e 100644 --- a/src/msw/helpwin.cpp +++ b/src/msw/helpwin.cpp @@ -26,7 +26,7 @@ #include "wx/msw/helpwin.h" -#if USE_HELP +#if wxUSE_HELP #include #ifdef __WXMSW__ @@ -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