X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1218de17f5ab174e4e74211c9cb24c0aac3d1201..63779a3de18f273c04247d74cee65f2bc6baa8ba:/src/generic/datavgen.cpp diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index a21401fd6f..d7b2598ad1 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -1224,7 +1224,7 @@ void wxDataViewColumn::SetInternalWidth( int width ) void wxDataViewColumn::SetWidth( int width ) { - m_owner->m_headerArea->UpdateDisplay(); + if (m_owner->m_headerArea) m_owner->m_headerArea->UpdateDisplay(); SetInternalWidth(width); }