dirven (IOW, if no other cell attributes have been set but the cell
has a non-string type.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14147
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_cellEditCtrlEnabled = FALSE;
- m_defaultCellAttr = new wxGridCellAttr(m_defaultCellAttr);
+ m_defaultCellAttr = new wxGridCellAttr();
// Set default cell attributes
+ m_defaultCellAttr->SetDefAttr(m_defaultCellAttr);
m_defaultCellAttr->SetKind(wxGridCellAttr::Default);
m_defaultCellAttr->SetFont(GetFont());
m_defaultCellAttr->SetAlignment(wxALIGN_LEFT, wxALIGN_TOP);