]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/helpwin.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / os2 / helpwin.h
CommitLineData
0e320a79 1/////////////////////////////////////////////////////////////////////////////
1b88201f 2// Name: wx/os2/helpwin.h
fb9010ed
DW
3// Purpose: Help system: native implementation for your system.
4// Author: David Webster
0e320a79 5// Modified by:
1b88201f 6// Created: 10/09/99
fb9010ed 7// Copyright: (c) David Webster
1b88201f 8// Licence: wxWindows licence
0e320a79
DW
9/////////////////////////////////////////////////////////////////////////////
10
fb9010ed
DW
11#ifndef _WX_HELPWIN_H_
12#define _WX_HELPWIN_H_
0e320a79 13
99f73df9 14#include "wx/wx.h"
d7e1a322
DW
15
16#if wxUSE_HELP
0e320a79
DW
17
18#include "wx/helpbase.h"
19
53a2db12 20class WXDLLIMPEXP_CORE wxWinHelpController: public wxHelpControllerBase
0e320a79 21{
fb9010ed 22 DECLARE_CLASS(wxWinHelpController)
0e320a79
DW
23
24 public:
fb9010ed 25 wxWinHelpController();
d3c7fc99 26 virtual ~wxWinHelpController();
0e320a79
DW
27
28 // Must call this to set the filename and server name
29 virtual bool Initialize(const wxString& file);
30
31 // If file is "", reloads file given in Initialize
edf1dfa1 32 virtual bool LoadFile(const wxString& file = wxEmptyString);
0e320a79
DW
33 virtual bool DisplayContents();
34 virtual bool DisplaySection(int sectionNo);
35 virtual bool DisplayBlock(long blockNo);
69b5cec2
VS
36 virtual bool KeywordSearch(const wxString& k,
37 wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
0e320a79
DW
38
39 virtual bool Quit();
40 virtual void OnQuit();
41
42 inline wxString GetHelpFile() const { return m_helpFile; }
43
44protected:
45 wxString m_helpFile;
fb9010ed 46private:
f6bcfd97
BP
47 // virtual function hiding supression :: do not use
48 bool Initialize(const wxString& rFile, int WXUNUSED(nServer) ) { return(Initialize(rFile)); }
49 bool DisplaySection(const wxString& rSection) { return wxHelpControllerBase::DisplaySection(rSection); }
0e320a79
DW
50};
51
d7e1a322
DW
52#endif //wxUSE_HELP
53
0e320a79 54#endif
fb9010ed 55 // _WX_HELPWIN_H_