components: use const bool& parameter in paint methodes

Origin commit data
------------------
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
This commit is contained in:
2019-10-27 22:56:49 +01:00
committed by vanhofen
parent 4e84787e92
commit 2afd15ea32
43 changed files with 61 additions and 60 deletions

View File

@@ -173,7 +173,7 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen
void Refresh(){initCCBtnItems();};
///paint button object
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
/**
* Assigns a single event msg value to button object