mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-20 22:06:25 +08:00
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.