]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "helpxxxx.h"
16 #include "wx/wxprec.h"
18 #include "wx/stubs/helpxxxx.h"
22 #if !USE_SHARED_LIBRARY
23 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController
, wxHelpControllerBase
)
26 wxXXXXHelpController::wxXXXXHelpController()
31 wxXXXXHelpController::~wxXXXXHelpController()
35 bool wxXXXXHelpController::Initialize(const wxString
& filename
)
37 m_helpFile
= filename
;
38 // TODO any other inits
42 bool wxXXXXHelpController::LoadFile(const wxString
& file
)
49 bool wxXXXXHelpController::DisplayContents()
55 bool wxXXXXHelpController::DisplaySection(int section
)
61 bool wxXXXXHelpController::DisplayBlock(long block
)
67 bool wxXXXXHelpController::KeywordSearch(const wxString
& k
,
68 wxHelpSearchMode
WXUNUSED(mode
))
70 if (m_helpFile
== "") return FALSE
;
76 // Can't close the help window explicitly in WinHelp
77 bool wxXXXXHelpController::Quit()
83 void wxXXXXHelpController::OnQuit()