]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/carbon/helpxxxx.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: native implementation
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #include "wx/wxprec.h"
14 #include "wx/stubs/helpxxxx.h"
18 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController
, wxHelpControllerBase
)
20 wxXXXXHelpController::wxXXXXHelpController()
25 wxXXXXHelpController::~wxXXXXHelpController()
29 bool wxXXXXHelpController::Initialize(const wxString
& filename
)
31 m_helpFile
= filename
;
32 // TODO any other inits
36 bool wxXXXXHelpController::LoadFile(const wxString
& file
)
43 bool wxXXXXHelpController::DisplayContents()
49 bool wxXXXXHelpController::DisplaySection(int section
)
55 bool wxXXXXHelpController::DisplayBlock(long block
)
61 bool wxXXXXHelpController::KeywordSearch(const wxString
& k
,
62 wxHelpSearchMode
WXUNUSED(mode
))
64 if (m_helpFile
== "") return FALSE
;
70 // Can't close the help window explicitly in WinHelp
71 bool wxXXXXHelpController::Quit()
77 void wxXXXXHelpController::OnQuit()