Patches-1851591 ] dataview sample is crashing (under MSW)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-12-16 14:42:32 +00:00
parent 1218de17f5
commit 63779a3de1
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}