CComponentsWindow: add missing member paint()

This is a partial revert of b9fc266721


Origin commit data
------------------
Commit: 0ae3d34ceb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)
This commit is contained in:
2013-11-17 20:53:45 +01:00
parent 882172ba90
commit 69182af8f6
2 changed files with 11 additions and 0 deletions

View File

@@ -317,6 +317,9 @@ class CComponentsWindow : public CComponentsForm
///refresh position and dimension and reinitialize elemenatary properties
void Refresh(){initCCWItems();};
///paint all window items, this overwriting paint() from CComponentsForm
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
};

View File

@@ -254,3 +254,11 @@ void CComponentsWindow::initCCWItems()
addCCItem(ccw_footer);
}
void CComponentsWindow::paint(bool do_save_bg)
{
//prepare items before paint
initCCWItems();
//paint form contents
paintForm(do_save_bg);
}