Files
ClaudeandVadim Zeitlin 996d360a8f Initialize wxHtmlCellEvent's members in its default constructor
The default constructor exists for the dynamic event creation machinery
and leaves m_cell and m_bLinkWasClicked indeterminate, so reading either
one from an event created that way was undefined behaviour and UBSAN
reported it as

    include/wx/html/htmlwin.h:603:5: runtime error: load of value 93,
    which is not a valid value for type 'bool'

Fix this by always initializing these fields, which also allows to
remove initialization of one of them in the non-default ctor.

See #26968.

Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
2026-09-05 15:27:16 +02:00
..
…
…
…
2024-11-02 03:56:29 +01:00
…