Files
wxWidgets/include
Vadim Zeitlin 18ff090264 Avoid undefined behaviour in wxDataViewColumnBase ctor
Don't upcast wxDataViewColumnBase pointer to wxDataViewColumn before the
latter is constructed, this is UB.

Unfortunately this means that all the derived classes have to call
wxDataViewRenderer::SetOwner() themselves instead of relying on the base
class to do it, but the only reasonably way to avoid it would be to use
CRTP and this seems too heavy to save just a few of these calls.
2024-10-21 21:23:07 +02:00
..