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