diff --git a/src/gui/components/cc_frm_button.cpp b/src/gui/components/cc_frm_button.cpp index 9bea700a0..81df0ffdb 100644 --- a/src/gui/components/cc_frm_button.cpp +++ b/src/gui/components/cc_frm_button.cpp @@ -151,7 +151,7 @@ void CComponentsButton::initIcon() int y_icon = 0; int h_icon = 0; if (cc_btn_icon_obj == NULL){ - cc_btn_icon_obj = new CComponentsPictureScalable(fr_thickness, 0, cc_btn_icon, this); + cc_btn_icon_obj = new CComponentsPicture(fr_thickness, 0, cc_btn_icon, this); cc_btn_icon_obj->SetTransparent(CFrameBuffer::TM_BLACK); cc_btn_icon_obj->doPaintBg(false); } diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index 7989542bb..0a78dcf4c 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -48,7 +48,7 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen { protected: ///object: picture object - CComponentsPictureScalable *cc_btn_icon_obj; + CComponentsPicture *cc_btn_icon_obj; ///object: label object CComponentsLabel *cc_btn_text_obj;