camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp
branchRCL_3
changeset 31 8f559c47d7fd
parent 27 53c8aa5d97a3
--- a/camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp	Tue May 25 12:22:04 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp	Wed Jun 09 09:21:41 2010 +0300
@@ -201,7 +201,7 @@
 //
 TInt CCamPostCaptureContainer::CountComponentControls() const
     {
-	TInt count = 0;
+	TInt count = CCamContainerBase::CountComponentControls();
     if( ( iPaneInUse == ECamPaneCounter ) || ( iPaneInUse == ECamPaneProgress ) )
 	    {
 	    count++;
@@ -225,7 +225,9 @@
 //
 CCoeControl* CCamPostCaptureContainer::ComponentControl( TInt aIndex ) const
     {
-	CCoeControl* con = NULL;
+	CCoeControl* con = CCamContainerBase::ComponentControl( aIndex );
+	if( con )
+	    return con;
    	switch( aIndex )
     	{
 	    case ECamPostCaptureSubControlNaviPane: