]>
git.saurik.com Git - wxWidgets.git/blob - src/osx/carbon/helpxxxx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/carbon/helpxxxx.cpp
3 // Purpose: Help system: native implementation
4 // Author: Stefan Csomor
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #include "wx/wxprec.h"
13 #include "wx/stubs/helpxxxx.h"
17 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController
, wxHelpControllerBase
)
19 wxXXXXHelpController::wxXXXXHelpController()
24 wxXXXXHelpController::~wxXXXXHelpController()
28 bool wxXXXXHelpController::Initialize(const wxString
& filename
)
30 m_helpFile
= filename
;
31 // TODO any other inits
35 bool wxXXXXHelpController::LoadFile(const wxString
& file
)
42 bool wxXXXXHelpController::DisplayContents()
48 bool wxXXXXHelpController::DisplaySection(int section
)
54 bool wxXXXXHelpController::DisplayBlock(long block
)
60 bool wxXXXXHelpController::KeywordSearch(const wxString
& k
,
61 wxHelpSearchMode
WXUNUSED(mode
))
63 if (m_helpFile
== "") return FALSE
;
69 // Can't close the help window explicitly in WinHelp
70 bool wxXXXXHelpController::Quit()
76 void wxXXXXHelpController::OnQuit()