CComponentsPicture: fix item position

x/y position was not assigned here for internal pic_x/pic_y vars.
Therefore x/y was ignored.
This commit is contained in:
2014-02-14 14:44:08 +01:00
parent 5707fe19a4
commit 27c6bdccaf

View File

@@ -153,7 +153,7 @@ void CComponentsPicture::initCCItem()
void CComponentsPicture::initPosition()
{
//using of real x/y values to paint images if this picture object is bound in a parent form
int px = x, py = y;
int px = pic_x = x, py = pic_y = y;
if (cc_parent){
px = cc_xr;
py = cc_yr;