]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/helpwin.h
added SetColMinimalWidth()
[wxWidgets.git] / include / wx / os2 / helpwin.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: helpxxxx.h
fb9010ed
DW
3// Purpose: Help system: native implementation for your system.
4// Author: David Webster
0e320a79 5// Modified by:
fb9010ed 6// Created: 10/09/99
0e320a79 7// RCS-ID: $Id$
fb9010ed 8// Copyright: (c) David Webster
0e320a79
DW
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
fb9010ed
DW
12#ifndef _WX_HELPWIN_H_
13#define _WX_HELPWIN_H_
0e320a79
DW
14
15#include "wx/wx.h"
16
17#include "wx/helpbase.h"
18
fb9010ed 19class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
0e320a79 20{
fb9010ed 21 DECLARE_CLASS(wxWinHelpController)
0e320a79
DW
22
23 public:
fb9010ed
DW
24 wxWinHelpController();
25 ~wxWinHelpController();
0e320a79
DW
26
27 // Must call this to set the filename and server name
28 virtual bool Initialize(const wxString& file);
29
30 // If file is "", reloads file given in Initialize
31 virtual bool LoadFile(const wxString& file = "");
32 virtual bool DisplayContents();
33 virtual bool DisplaySection(int sectionNo);
34 virtual bool DisplayBlock(long blockNo);
35 virtual bool KeywordSearch(const wxString& k);
36
37 virtual bool Quit();
38 virtual void OnQuit();
39
40 inline wxString GetHelpFile() const { return m_helpFile; }
41
42protected:
43 wxString m_helpFile;
fb9010ed
DW
44private:
45 // virtual function hiding supression :: do not use
46 bool Initialize(const wxString& file, int WXUNUSED(server) ) { return(Initialize(file)); }
0e320a79
DW
47};
48
49#endif
fb9010ed 50 // _WX_HELPWIN_H_