X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a9b4940a1f8eef8eb3e7ff65ed45f1daf14c2d9..813210ca7e63cb0a8e2a145664c8b638ea65c15e:/docs/latex/wx/htmllbox.tex diff --git a/docs/latex/wx/htmllbox.tex b/docs/latex/wx/htmllbox.tex index 63729f5856..257611d039 100644 --- a/docs/latex/wx/htmllbox.tex +++ b/docs/latex/wx/htmllbox.tex @@ -31,7 +31,7 @@ example) but you will only need to override a single \membersection{wxHtmlListBox::wxHtmlListBox}\label{wxhtmllistboxwxhtmllistbox} -\func{}{wxHtmlListBox}{\param{wxWindow* }{parent}, \param{wxWindowID }{id = wxID\_ANY}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{size\_t }{countItems = 0}, \param{long }{style = 0}, \param{const wxString\& }{name = wxVListBoxNameStr}} +\func{}{wxHtmlListBox}{\param{wxWindow* }{parent}, \param{wxWindowID }{id = wxID\_ANY}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = 0}, \param{const wxString\& }{name = wxVListBoxNameStr}} Normal constructor which calls \helpref{Create()}{wxhtmllistboxcreate} internally. @@ -63,6 +63,19 @@ wxListBox styles can not be used here. Returns {\tt true} on success or {\tt false} if the control couldn't be created +\membersection{wxHtmlListBox::GetFileSystem}\label{wxhtmllistboxgetfilesystem} + +\func{wxFileSystem\&}{GetFileSystem}{\void} + +\constfunc{const wxFileSystem\&}{GetFileSystem}{\void} + +Returns the \helpref{wxFileSystem}{wxfilesystem} used by the HTML parser of +this object. The file system object is used to resolve the paths in HTML +fragments displayed in the control and you should use +\helpref{wxFileSystem::ChangePathTo}{wxfilesystemchangepathto} if you use +relative paths for the images or other resources embedded in your HTML. + + \membersection{wxHtmlListBox::GetSelectedTextBgColour}\label{wxhtmllistboxgetselectedtextbgcolour} \constfunc{wxColour}{GetSelectedTextBgColour}{\param{const wxColour\& }{colBg}} @@ -114,3 +127,18 @@ for the given item. This function may be overridden to decorate HTML returned by \helpref{OnGetItem()}{wxhtmllistboxongetitem}. +\membersection{wxHtmlListBox::OnLinkClicked}\label{wxhtmlistboxonlinkclicked} + +\func{virtual void}{OnLinkClicked}{\param{size\_t }{n}, \param{const wxHtmlLinkInfo\& }{link}} + +Called when the user clicks on hypertext link. Does nothing by default. + +\wxheading{Parameters} + +\docparam{n}{Index of the item containing the link.} + +\docparam{link}{Description of the link.} + +\wxheading{See also} + +See also \helpref{wxHtmlLinkInfo}{wxhtmllinkinfo}.