--- a/camerauis/cameraapp/generic/src/CamCaptureSetupMenu.cpp Tue May 25 12:22:04 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamCaptureSetupMenu.cpp Wed Jun 09 09:21:41 2010 +0300
@@ -173,17 +173,22 @@
TInt CCamCaptureSetupMenu::CountComponentControls() const
{
// this control contains a listbox
- return 1;
+ return CCamContainerBase::CountComponentControls() + 1;
}
// ---------------------------------------------------------
// CCamCaptureSetupMenu::ComponentControl(TInt aIndex) const
// ---------------------------------------------------------
//
-CCoeControl* CCamCaptureSetupMenu::ComponentControl(TInt /*aIndex*/) const
+CCoeControl* CCamCaptureSetupMenu::ComponentControl(TInt aIndex) const
{
- return iCaptureSetupListBox;
- }
+ CCoeControl* control = CCamContainerBase::ComponentControl( aIndex );
+ if( control == NULL)
+ {
+ control = iCaptureSetupListBox;
+ }
+ return control;
+ }
// ---------------------------------------------------------
// CCamCaptureSetupMenu::Draw(const TRect& aRect) const