[ 1507795 ] Small doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user