EVT_LISTBOX for wxSimpleHtmlListBox doesn't include the selected string
|Reported by:||profdreamsmasher||Owned by:|
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 (6)
comment:1 Changed 5 years ago by roebling
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 5 years ago by profdreamsmasher
- Resolution invalid deleted
- Status changed from closed to reopened