CComponentsButton: reinit button items after changed font type

Origin commit data
------------------
Commit: 2256c83b98
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
This commit is contained in:
2014-05-01 16:22:22 +02:00
parent 4af8bf7132
commit b45c8b264d

View File

@@ -112,7 +112,7 @@ class CComponentsButton : public CComponentsFrmChain
virtual neutrino_locale_t getCaptionLocale(){return cc_btn_capt_locale;}; virtual neutrino_locale_t getCaptionLocale(){return cc_btn_capt_locale;};
///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font ///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font
virtual void setButtonFont(Font* font){cc_btn_font = font;}; virtual void setButtonFont(Font* font){cc_btn_font = font; initCCBtnItems();};
///reinitialize items ///reinitialize items
virtual void Refresh(){initCCBtnItems();}; virtual void Refresh(){initCCBtnItems();};