Remove redundant Free() from wxFont::SetFractionalPointSize()
Free() is already called from wxFontRefData::SetFractionalPointSize(), so there is no need to call it from wxFont too and doing this makes this method gratuitously inconsistent with all the other setters. No real changes.
This commit is contained in:
committed by
Maarten Bent
parent
b24d7e3ae4
commit
b62563b907
@@ -855,7 +855,6 @@ void wxFont::SetFractionalPointSize(float pointSize)
|
||||
{
|
||||
AllocExclusive();
|
||||
|
||||
M_FONTDATA->Free();
|
||||
M_FONTDATA->SetFractionalPointSize(pointSize);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user