Assert if wxListCtrl::EditLabel() is used without wxLC_EDIT_LABELS
Since wxListCtrl under wxMSW cannot edit labels without the presence of this flag, and an assertion failure triggered if the flag is missing to it and also all the other ports for consistency. Also document that wxLC_EDIT_LABELS flag is required in EditLabel() description. See #23024.
This commit is contained in:
parent
f802b869fa
commit
2578ffb54a
5 changed files with 23 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ Changes in behaviour not resulting in compilation errors
|
|||
used instead, but if you do use it, you need to update your code to prevent
|
||||
the last character of the data from being chopped.
|
||||
|
||||
- Calling wxListCtrl::EditLabel() now asserts if the control doesn't have
|
||||
wxLC_EDIT_LABELS style: previously this silently didn't work in wxMSW.
|
||||
|
||||
|
||||
Changes in behaviour which may result in build errors
|
||||
-----------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue