X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..844f90fba68fc9fbd3e839825d406839ee9fb9fb:/include/wx/generic/helpxlp.h diff --git a/include/wx/generic/helpxlp.h b/include/wx/generic/helpxlp.h index ec5aa7e174..2452d92910 100644 --- a/include/wx/generic/helpxlp.h +++ b/include/wx/generic/helpxlp.h @@ -6,11 +6,9 @@ // 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__ @@ -26,10 +24,9 @@ #include "wx/helpbase.h" #ifdef __WXMSW__ -#include "wx/dde.h" + #include "wx/dde.h" #else -// Or whatever it'll be called -#include "wx/ipctcp.h" + #include "wx/sckipc.h" #endif class WXDLLEXPORT wxXLPHelpController; @@ -107,6 +104,11 @@ class WXDLLEXPORT wxXLPHelpController: public wxHelpControllerBase 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); @@ -120,6 +122,8 @@ class WXDLLEXPORT wxXLPHelpController: public wxHelpControllerBase bool helpRunning; wxXLPHelpConnection* helpConnection; wxXLPHelpClient helpClient; +private: + virtual bool Initialize(const wxString& file) { return(wxHelpControllerBase::Initialize(file)); }; }; #endif // wxUSE_HELP