(it may also be set or changed later with wxVListBox::SetItemCount).
There are no special styles defined for wxHtmlListBox, in particular the
- wxListBox styles (with the exception of @c wxLB_MULTIPLE) can not be used here.
+ wxListBox styles (with the exception of @c wxLB_MULTIPLE) cannot be used here.
Returns @true on success or @false if the control couldn't be created
*/
@beginEventEmissionTable
@event{EVT_LISTBOX(id, func)}
- Process a wxEVT_COMMAND_LISTBOX_SELECTED event, when an item on the list
+ Process a @c wxEVT_LISTBOX event, when an item on the list
is selected. See wxCommandEvent.
@event{EVT_LISTBOX_DCLICK(id, func)}
- Process a wxEVT_COMMAND_LISTBOX_DOUBLECLICKED event, when the listbox is
+ Process a @c wxEVT_LISTBOX_DCLICK event, when the listbox is
double-clicked. See wxCommandEvent.
@event{EVT_HTML_CELL_CLICKED(id, func)}
A wxHtmlCell was clicked. See wxHtmlCellEvent.
@library{wxhtml}
@category{ctrl}
- @appearance{simplehtmllistbox.png}
+ @appearance{simplehtmllistbox}
@see wxSimpleHtmlListBox::Create
*/
-class wxSimpleHtmlListBox : public wxHtmlListBox
+class wxSimpleHtmlListBox : public wxHtmlListBox,
+ public wxItemContainer
{
public:
/**