CComponentsButton: simplify paint of button icon

Calculation of image aspect ratio now happens in picture object itself.
This commit is contained in:
2015-07-11 22:07:25 +02:00
parent 53a350d5af
commit b47a0ccaeb
2 changed files with 10 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ class CComponentsButton : public CComponentsFrmChain
{
protected:
///object: picture object
CComponentsPicture *cc_btn_icon_obj;
CComponentsPictureScalable *cc_btn_icon_obj;
///object: label object
CComponentsLabel *cc_btn_capt_obj;