// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-/* sccsid[] = "@(#)wx_help.h 1.2 5/9/94" */
-
#ifndef __HELPXLPH__
#define __HELPXLPH__
#pragma interface "helpxlp.h"
#endif
-#include <stdio.h>
-#include "wx/wx.h"
+#include "wx/defs.h"
-#if USE_HELP
+#if wxUSE_HELP
#include "wx/helpbase.h"
-#ifdef __WINDOWS__
-#include "wx/dde.h"
+#ifdef __WXMSW__
+ #include "wx/dde.h"
#else
-// Or whatever it'll be called
-#include "wx/ipctcp.h"
+ #include "wx/sckipc.h"
#endif
class WXDLLEXPORT wxXLPHelpController;
// wxHelp process and the application
class WXDLLEXPORT wxXLPHelpConnection: public
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
wxDDEConnection
#else
wxTCPConnection
// controlling the wxHelp process
class WXDLLEXPORT wxXLPHelpClient: public
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
wxDDEClient
#else
wxTCPClient
virtual bool DisplayBlock(long blockNo);
virtual bool KeywordSearch(const wxString& k);
+ virtual bool DisplaySection(const wxString& section)
+ {
+ return wxHelpControllerBase::DisplaySection(section);
+ }
+
virtual bool Quit(void);
virtual void OnQuit(void);
bool helpRunning;
wxXLPHelpConnection* helpConnection;
wxXLPHelpClient helpClient;
+private:
+ virtual bool Initialize(const wxString& file) { return(wxHelpControllerBase::Initialize(file)); };
};
-#endif // USE_HELP
+#endif // wxUSE_HELP
#endif
// __HELPXLPH__