Remove unnecessary pointer check before deleting it
No real changes.
This commit is contained in:
@@ -3142,10 +3142,7 @@ public:
|
|||||||
|
|
||||||
~wxSTCListBoxD2D()
|
~wxSTCListBoxD2D()
|
||||||
{
|
{
|
||||||
if ( m_surfaceFontData )
|
delete m_surfaceFontData;
|
||||||
{
|
|
||||||
delete m_surfaceFontData;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetListBoxFont(Font& font) wxOVERRIDE
|
void SetListBoxFont(Font& font) wxOVERRIDE
|
||||||
|
Reference in New Issue
Block a user