diff -r efd4f1afd43e -r d620048b4810 meetingrequest/mrgui/mrfieldbuilderpluginextension/src/cesmrresponseitem.cpp --- a/meetingrequest/mrgui/mrfieldbuilderpluginextension/src/cesmrresponseitem.cpp Mon Jun 21 15:20:54 2010 +0300 +++ b/meetingrequest/mrgui/mrfieldbuilderpluginextension/src/cesmrresponseitem.cpp Thu Jul 15 18:19:25 2010 +0300 @@ -94,7 +94,7 @@ void CESMRResponseItem::ConstructL( const TDesC& aItemText, TBool aHasIcon ) { FUNC_LOG; - iSelectionLabel = CMRLabel::NewL(); + iSelectionLabel = CMRLabel::NewL( this ); iSelectionLabel->SetTextL( aItemText ); // Response item might not have icon. e.g. topic line @@ -299,6 +299,24 @@ } // ----------------------------------------------------------------------------- +// CESMRResponseItem::SetContainerWindowL +// ----------------------------------------------------------------------------- +// +void CESMRResponseItem::SetContainerWindowL( const CCoeControl& aContainer ) + { + FUNC_LOG; + + CCoeControl::SetContainerWindowL( aContainer ); + + TInt count( CountComponentControls() ); + + for ( TInt i = 0; i < count; ++i ) + { + ComponentControl( i )->SetContainerWindowL( *this ); + } + } + +// ----------------------------------------------------------------------------- // CESMRResponseItem::IconL // ----------------------------------------------------------------------------- // @@ -312,7 +330,7 @@ { iconID = NMRBitmapManager::EMRBitmapCheckBoxOn; } - CMRImage* icon = CMRImage::NewL( iconID ); + CMRImage* icon = CMRImage::NewL( iconID, this ); return icon; }