Ticket #10159 (closed defect: fixed)
EVT_LISTBOX for wxSimpleHtmlListBox doesn't include the selected string
| Reported by: | profdreamsmasher | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8.9 |
| Component: | GUI-generic | Version: | 2.8.x |
| Keywords: | simple | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
I have an EVT_LISTBOX event wxSimpleHtmlListBox. In the handler, calling wxCommandEvent::GetSelection() will indeed give me the selected index of the item in the wxSimpleHtmlListBox. However, calling wxCommandEvent::GetString() returns an empty string (instead of the selected string in the listbox). The help states:
"Returns item string for a listbox or choice selection event"
I would just assume this should work for a wxSimpleHtmlListBox too.
Change History
Note: See
TracTickets for help on using
tickets.
