textinput/peninputgenericitut/src/peninputcommonbgctrl.cpp
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 9 e6a39382bb9c
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
    60     if (aRect.Size().iWidth == 0 || aRect.Size().iHeight == 0)
    60     if (aRect.Size().iWidth == 0 || aRect.Size().iHeight == 0)
    61     {
    61     {
    62     return;
    62     return;
    63     }
    63     }
    64 	
    64 	
       
    65     TRect rect = Rect();
       
    66     if ( aRect == rect )
       
    67         {
       
    68         return;
       
    69         }
       
    70     
    65 	SetRect( aRect );
    71 	SetRect( aRect );
    66 	
    72 	
    67 	Draw();
    73 	Draw();
    68     UpdateArea(Rect(), EFalse);
    74     UpdateArea(Rect(), EFalse);
    69 	}
    75 	}