#include "wx/msw/helpwin.h"
-#if USE_HELP
+#if wxUSE_HELP
#include <time.h>
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
#include <wx/msw/private.h>
#endif
{
}
-bool wxWinHelpController::Initialize(const wxString& filename, int server)
+bool wxWinHelpController::Initialize(const wxString& filename)
{
m_helpFile = filename;
return TRUE;
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);
{
}
-#endif // USE_HELP
+#endif // wxUSE_HELP