X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc55e31bdc7fbf6f1006f298ed8310e7972984e9..d441742626a54f7dd10888ebac5abcc0e55f9234:/docs/latex/wx/htmllbox.tex diff --git a/docs/latex/wx/htmllbox.tex b/docs/latex/wx/htmllbox.tex index 257611d039..08500a998b 100644 --- a/docs/latex/wx/htmllbox.tex +++ b/docs/latex/wx/htmllbox.tex @@ -14,12 +14,17 @@ wxHtmlListBox is an implementation of \helpref{wxVListBox}{wxvlistbox} which shows HTML content in the listbox rows. This is still an abstract base class and you will need to derive your own class from it (see htlbox sample for the -example) but you will only need to override a single +example) but you will only need to override a single \helpref{OnGetItem()}{wxhtmllistboxongetitem} function. \wxheading{Derived from} -\helpref{wxVListBox}{wxvlistbox} +\helpref{wxVListBox}{wxvlistbox}\\ +\helpref{wxVScrolledWindow}{wxvscrolledwindow}\\ +\helpref{wxPanel}{wxpanel}\\ +\helpref{wxWindow}{wxwindow}\\ +\helpref{wxEvtHandler}{wxevthandler}\\ +\helpref{wxObject}{wxobject} \wxheading{Include files} @@ -54,7 +59,7 @@ Destructor cleans up whatever resources we use. \func{bool}{Create}{\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}} Creates the control and optionally sets the initial number of items in it -(it may also be set or changed later with +(it may also be set or changed later with \helpref{SetItemCount()}{wxvlistboxsetitemcount}). There are no special styles defined for wxHtmlListBox, in particular the @@ -71,7 +76,7 @@ Returns {\tt true} on success or {\tt false} if the control couldn't be created 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 +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. @@ -81,10 +86,10 @@ relative paths for the images or other resources embedded in your HTML. \constfunc{wxColour}{GetSelectedTextBgColour}{\param{const wxColour\& }{colBg}} This virtual function may be overridden to change the appearance of the -background of the selected cells in the same way as +background of the selected cells in the same way as \helpref{GetSelectedTextColour}{wxhtmllistboxgetselectedtextcolour}. -It should be rarely, if ever, used because +It should be rarely, if ever, used because \helpref{SetSelectionBackground}{wxvlistboxsetselectionbackground} allows to change the selection background for all cells at once and doing anything more fancy is probably going to look strangely.