textinput/peninputgenerichwr/src/peninputhwrarabicwindow.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 0 eb1f2e154e89
child 14 e6a39382bb9c
equal deleted inserted replaced
8:6ceef9a83b1a 10:6defe5d1bd39
   399     AddDropdownListL(boxWndLandscape);
   399     AddDropdownListL(boxWndLandscape);
   400 //    TRect rect = iHwBox->Rect();
   400 //    TRect rect = iHwBox->Rect();
   401 //    rect.iTl.iY = rect.iTl.iY + 2*iUnitHeight;
   401 //    rect.iTl.iY = rect.iTl.iY + 2*iUnitHeight;
   402 //    
   402 //    
   403 //    iHwBox->SetRect(rect);
   403 //    iHwBox->SetRect(rect);
   404     for ( TInt i = 0; i < iCtrlPool->ControlCount(); i++ )
   404     
   405         {
   405     if( iCtrlPool != NULL )
   406         if ( iCtrlPool && iCtrlPool->ControlByIndex( i ))
   406         {
   407             {
   407         for ( TInt i = 0; i < iCtrlPool->ControlCount(); i++ )
   408             iCtrlPool->ControlByIndex( i )->AddEventObserver( UiLayout() );
   408             {
       
   409             if ( iCtrlPool->ControlByIndex( i ) )
       
   410                 {
       
   411                 iCtrlPool->ControlByIndex( i )->AddEventObserver( UiLayout() );
       
   412                 }
   409             }
   413             }
   410         }
   414         }
   411     }
   415     }
   412         
   416         
   413 // --------------------------------------------------------------------------
   417 // --------------------------------------------------------------------------