]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mac/carbon/helpxxxx.cpp
Explicitly forward non-command events along to the native control first.
[wxWidgets.git] / src / mac / carbon / helpxxxx.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: helpxxxx.cpp
3// Purpose: Help system: native implementation
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#include "wx/wxprec.h"
13
14#include "wx/stubs/helpxxxx.h"
15
16#include <string.h>
17
18IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
19
20wxXXXXHelpController::wxXXXXHelpController()
21{
22 m_helpFile = "";
23}
24
25wxXXXXHelpController::~wxXXXXHelpController()
26{
27}
28
29bool wxXXXXHelpController::Initialize(const wxString& filename)
30{
31 m_helpFile = filename;
32 // TODO any other inits
33 return TRUE;
34}
35
36bool wxXXXXHelpController::LoadFile(const wxString& file)
37{
38 m_helpFile = file;
39 // TODO
40 return TRUE;
41}
42
43bool wxXXXXHelpController::DisplayContents()
44{
45 // TODO
46 return FALSE;
47}
48
49bool wxXXXXHelpController::DisplaySection(int section)
50{
51 // TODO
52 return FALSE;
53}
54
55bool wxXXXXHelpController::DisplayBlock(long block)
56{
57 // TODO
58 return FALSE;
59}
60
61bool wxXXXXHelpController::KeywordSearch(const wxString& k,
62 wxHelpSearchMode WXUNUSED(mode))
63{
64 if (m_helpFile == "") return FALSE;
65
66 // TODO
67 return FALSE;
68}
69
70// Can't close the help window explicitly in WinHelp
71bool wxXXXXHelpController::Quit()
72{
73 // TODO
74 return FALSE;
75}
76
77void wxXXXXHelpController::OnQuit()
78{
79}
80