]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datavgen.cpp
Disable any refresh in backing window (set_back_pixmap( None ..) makes it transparent
[wxWidgets.git] / src / generic / datavgen.cpp
index a21401fd6f8bb8fbb5f64fb5ec3eca989629ee6b..d7b2598ad18dc01b9121219c2f4e6c9010f78231 100644 (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);
 }