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:
Vadim Zeitlin
2018-12-30 00:57:35 +01:00
committed by Maarten Bent
parent b24d7e3ae4
commit b62563b907

View File

@@ -855,7 +855,6 @@ void wxFont::SetFractionalPointSize(float pointSize)
{
AllocExclusive();
M_FONTDATA->Free();
M_FONTDATA->SetFractionalPointSize(pointSize);
}