]>
git.saurik.com Git - wxWidgets.git/blob - src/motif/helpxxxx.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: native implementation
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "helpxxxx.h"
16 #include "wx/motif/helpxxxx.h"
20 IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController
, wxHelpControllerBase
)
22 wxXXXXHelpController::wxXXXXHelpController()
27 wxXXXXHelpController::~wxXXXXHelpController()
31 bool wxXXXXHelpController::Initialize(const wxString
& filename
)
33 m_helpFile
= filename
;
34 // TODO any other inits
38 bool wxXXXXHelpController::LoadFile(const wxString
& file
)
45 bool wxXXXXHelpController::DisplayContents()
51 bool wxXXXXHelpController::DisplaySection(int section
)
57 bool wxXXXXHelpController::DisplayBlock(long block
)
63 bool wxXXXXHelpController::KeywordSearch(const wxString
& k
)
65 if (m_helpFile
== "") return FALSE
;
71 // Can't close the help window explicitly in WinHelp
72 bool wxXXXXHelpController::Quit()
78 void wxXXXXHelpController::OnQuit()