This commit is contained in:
Jeff Young 2023-06-17 15:26:42 +01:00
parent a5ded3341a
commit c183e3f342
2 changed files with 1 additions and 2 deletions

View File

@ -462,7 +462,7 @@ bool WX_GRID::CancelPendingChanges()
wxGridCellAttr* attr = GetCellAttr( row, col );
wxGridCellEditor* editor = attr->GetEditor( this, row, col );
bool changed = editor->EndEdit( row, col, this, oldval, &newval );
editor->EndEdit( row, col, this, oldval, &newval );
editor->DecRef();
attr->DecRef();

View File

@ -514,7 +514,6 @@ void FP_TEXT::TransformTextToPolySet( SHAPE_POLY_SET& aBuffer, int aClearance, i
if( IsKnockout() )
{
TEXT_ATTRIBUTES attrs = GetAttributes();
SHAPE_POLY_SET finalPoly;
int margin = GetKnockoutTextMargin( attrs.m_Size, penWidth );