]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/classic/helpxxxx.cpp
7d0e4d15314ef776d7949264d2adf578fb3d83ce
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: native implementation
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "helpxxxx.h"
16 #include "wx/stubs/helpxxxx.h"
20 #if !USE_SHARED_LIBRARY
21 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController
, wxHelpControllerBase
)
24 wxXXXXHelpController::wxXXXXHelpController()
29 wxXXXXHelpController::~wxXXXXHelpController()
33 bool wxXXXXHelpController::Initialize(const wxString
& filename
)
35 m_helpFile
= filename
;
36 // TODO any other inits
40 bool wxXXXXHelpController::LoadFile(const wxString
& file
)
47 bool wxXXXXHelpController::DisplayContents()
53 bool wxXXXXHelpController::DisplaySection(int section
)
59 bool wxXXXXHelpController::DisplayBlock(long block
)
65 bool wxXXXXHelpController::KeywordSearch(const wxString
& k
,
66 wxHelpSearchMode
WXUNUSED(mode
))
68 if (m_helpFile
== "") return FALSE
;
74 // Can't close the help window explicitly in WinHelp
75 bool wxXXXXHelpController::Quit()
81 void wxXXXXHelpController::OnQuit()