CComponentsButton: reinit button items after changed font type

This commit is contained in:
2014-05-01 16:22:22 +02:00
parent 45ce42e505
commit 2256c83b98

View File

@@ -112,7 +112,7 @@ class CComponentsButton : public CComponentsFrmChain
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
virtual void setButtonFont(Font* font){cc_btn_font = font;};
virtual void setButtonFont(Font* font){cc_btn_font = font; initCCBtnItems();};
///reinitialize items
virtual void Refresh(){initCCBtnItems();};