]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpwin.cpp
1. registry files corresponding to the recent registry.h changes
[wxWidgets.git] / src / msw / helpwin.cpp
index 9e1e6a5997e3834e5fd00efe56407133f9bc8de8..068165f21edd5d773fbc90ff568a5c75331a2bfc 100644 (file)
 
 #include "wx/msw/helpwin.h"
 
-#if USE_HELP
+#if wxUSE_HELP
 #include <time.h>
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
 #include <wx/msw/private.h>
 #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