Remove unnecessary pointer check before deleting it

No real changes.
This commit is contained in:
Vadim Zeitlin
2020-06-27 13:50:07 +02:00
parent 74332e9132
commit 8129b38ee4

View File

@@ -3141,12 +3141,9 @@ public:
} }
~wxSTCListBoxD2D() ~wxSTCListBoxD2D()
{
if ( m_surfaceFontData )
{ {
delete m_surfaceFontData; delete m_surfaceFontData;
} }
}
void SetListBoxFont(Font& font) wxOVERRIDE void SetListBoxFont(Font& font) wxOVERRIDE
{ {