]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/helpxxxx.cpp
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
)
67 if (m_helpFile
== "") return FALSE
;
73 // Can't close the help window explicitly in WinHelp
74 bool wxXXXXHelpController::Quit()
80 void wxXXXXHelpController::OnQuit()