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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user