Remove: Unnecessary virtual destructors on drop down list items.
This commit is contained in:

committed by
Charles Pigott

parent
303cfd86a3
commit
fb35cb5ed2
@@ -97,8 +97,6 @@ public:
|
||||
this->checkmark_width = GetStringBoundingBox(STR_JUST_CHECKMARK).width + 3;
|
||||
}
|
||||
|
||||
virtual ~DropDownListCheckedItem() {}
|
||||
|
||||
uint Width() const
|
||||
{
|
||||
return DropDownListStringItem::Width() + this->checkmark_width;
|
||||
@@ -129,8 +127,6 @@ public:
|
||||
this->lock_size = GetSpriteSize(SPR_LOCK);
|
||||
}
|
||||
|
||||
virtual ~DropDownListCompanyItem() {}
|
||||
|
||||
bool Selectable() const
|
||||
{
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user