cc-classes: add missing virtual destructors

This commit is contained in:
2019-10-27 16:24:47 +01:00
parent 3e58485066
commit 83dfe855b0
7 changed files with 12 additions and 2 deletions

View File

@@ -81,6 +81,8 @@ class CComponentsFooter : public CComponentsHeader, public CCButtonSelect
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0,
int sizeMode = CC_HEADER_SIZE_LARGE);
virtual ~CComponentsFooter(){};
///add button labels with string label type as content, count as size_t, chain_width as int, label width as int
void setButtonLabels(const struct button_label_cc * const content, const size_t& label_count, const int& chain_width = 0, const int& label_width = 0);