Use wxGridCellAttrPtr typedef

No real changes, just make the code slightly shorter.
This commit is contained in:
Vadim Zeitlin
2020-03-31 17:09:40 +02:00
parent ca30169767
commit 104733550e
2 changed files with 2 additions and 3 deletions

View File

@@ -1605,8 +1605,7 @@ MyGridCellAttrProvider::MyGridCellAttrProvider()
wxGridCellAttr *MyGridCellAttrProvider::GetAttr(int row, int col,
wxGridCellAttr::wxAttrKind kind /* = wxGridCellAttr::Any */) const
{
wxObjectDataPtr<wxGridCellAttr>
attr(wxGridCellAttrProvider::GetAttr(row, col, kind));
wxGridCellAttrPtr attr(wxGridCellAttrProvider::GetAttr(row, col, kind));
if ( row % 2 )
{