calendarui/commonutils/src/calencustomnavilabel.cpp
branchRCL_3
changeset 60 96907930389d
parent 48 bf573002ff72
child 67 1539a383d7b6
--- a/calendarui/commonutils/src/calencustomnavilabel.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/commonutils/src/calencustomnavilabel.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -25,7 +25,7 @@
 #include <calendar.mbg>
 #include <AknIconUtils.h>
 #include <debug.h>
-#include <aknsutils.h>
+#include <AknsUtils.h>
 
 
 // ----------------------------------------------------------------------------
@@ -72,7 +72,7 @@
 // CCustomNaviControl::SetCalendarNameAndColor
 // Sets the Calendar name and Color.
 // ----------------------------------------------------------------------------    
-void CCustomNaviControl::SetCalendarNameAndColor(const TDesC& aName, const TRgb aColor)
+void CCustomNaviControl::SetCalendarNameAndColorL(const TDesC& aName, const TRgb aColor)
     {
     TRACE_ENTRY_POINT;
     delete iCalendarName;
@@ -101,9 +101,6 @@
     iCalendarColor = aColor;
     iCalendarName = aName.AllocL();
     CreateWindowL();
-    iBgContext = CAknsBasicBackgroundControlContext::NewL( KAknsIIDQsnBgNavipaneSolid,
-                                                           Rect(),
-                                                           ETrue );
     // Create an icon
     TFileName IconFile;
     IconFile = ((CEikAppUi*)CCoeEnv::Static()->AppUi())->Application()->BitmapStoreName();