#19263: Calling SetToolTip on wxListCtrl clears checkbox flag
----------------------+-------------------------------
Reporter: dconnet | Owner:
Type: defect | Status: confirmed
Priority: normal | Milestone:
Component: wxMSW | Version: 3.1.5
Resolution: | Keywords: simple wxListCtrl
Blocked By: | Blocking:
Patch: 0 |
----------------------+-------------------------------
Changes (by vadz):
* keywords: => simple wxListCtrl
* status: new => confirmed
Comment:
Oops, indeed, `SetToolTip()` calls `MSWSetExListStyles()` and this doesn't
take `LVS_EX_CHECKBOXES` into account.
Note that the same thing is going to happen in `SetWindowStyleFlag()` too,
so `MSWSetExListStyles()` should be modified to preserve
`LVS_EX_CHECKBOXES` if it's already set. This should be simple to do if
anybody has 10 minutes to test it...
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19263#comment:1>