]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/hprovcnt.tex
compilation fix for wxUSE_STL==1 in DoGetSibling()
[wxWidgets.git] / docs / latex / wx / hprovcnt.tex
... / ...
CommitLineData
1\section{\class{wxHelpControllerHelpProvider}}\label{wxhelpcontrollerhelpprovider}
2
3wxHelpControllerHelpProvider is an implementation of wxHelpProvider which supports
4both context identifiers and plain text help strings. If the help text is an integer,
5it is passed to wxHelpController::DisplayContextPopup. Otherwise, it shows the string
6in a tooltip as per wxSimpleHelpProvider. If you use this with a wxCHMHelpController instance
7on windows, it will use the native style of tip window instead of \helpref{wxTipWindow}{wxtipwindow}.
8
9You can use the convenience function {\bf wxContextId} to convert an integer context
10id to a string for passing to \helpref{wxWindow::SetHelpText}{wxwindowsethelptext}.
11
12\wxheading{Derived from}
13
14\helpref{wxSimpleHelpProvider}{wxsimplehelpprovider}\\
15\helpref{wxHelpProvider}{wxhelpprovider}
16
17\wxheading{Include files}
18
19<wx/cshelp.h>
20
21\wxheading{Library}
22
23\helpref{wxCore}{librarieslist}
24
25\wxheading{See also}
26
27\helpref{wxHelpProvider}{wxhelpprovider}, \helpref{wxSimpleHelpProvider}{wxsimplehelpprovider},
28\helpref{wxContextHelp}{wxcontexthelp}, \helpref{wxWindow::SetHelpText}{wxwindowsethelptext},
29\helpref{wxWindow::GetHelpTextAtPoint}{wxwindowgethelptextatpoint}
30
31\latexignore{\rtfignore{\wxheading{Members}}}
32
33\membersection{wxHelpControllerHelpProvider::wxHelpControllerHelpProvider}\label{wxhelpcontrollerhelpproviderwxhelpcontrollerhelpprovider}
34
35\func{}{wxHelpControllerHelpProvider}{\param{wxHelpControllerBase* }{hc = NULL}}
36
37Note that the instance doesn't own the help controller. The help controller
38should be deleted separately.
39
40\membersection{wxHelpControllerHelpProvider::SetHelpController}\label{wxhelpcontrollerhelpprovidersethelpcontroller}
41
42\func{void}{SetHelpController}{\param{wxHelpControllerBase* }{hc}}
43
44Sets the help controller associated with this help provider.
45
46\membersection{wxHelpControllerHelpProvider::GetHelpController}\label{wxhelpcontrollerhelpprovidergethelpcontroller}
47
48\constfunc{wxHelpControllerBase*}{GetHelpController}{\void}
49
50Returns the help controller associated with this help provider.
51