equal
deleted
inserted
replaced
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 // -------------------------------------------------------------------------- |