gui/widget/menue.cpp: add param delete_items to CMenuWidget::resetWidget, use resetWidget in destructor

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2161 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2012-03-26 14:46:42 +00:00
parent 01a520ab17
commit 384ec65631
2 changed files with 7 additions and 3 deletions

View File

@@ -446,7 +446,7 @@ class CMenuWidget : public CMenuTarget
};
virtual void addIntroItems(neutrino_locale_t subhead_text = NONEXISTANT_LOCALE, neutrino_locale_t section_text = NONEXISTANT_LOCALE, int buttontype = BTN_TYPE_BACK );
bool hasItem();
void resetWidget();
void resetWidget(bool delete_items = false);
void insertItem(const uint& item_id, CMenuItem* menuItem);
void removeItem(const uint& item_id);
int getItemId(CMenuItem* menuItem);