--- a/uiacceltk/hitchcock/ServerStub/Proxy_src/AlfAppFwProxy.cpp Fri Mar 12 15:47:04 2010 +0200
+++ b/uiacceltk/hitchcock/ServerStub/Proxy_src/AlfAppFwProxy.cpp Mon Mar 15 12:43:37 2010 +0200
@@ -164,7 +164,7 @@
if (!iBitmap)
{
iBitmap = new (ELeave) CFbsBitmap();
- User::LeaveIfError( iBitmap->Create(skinRect.Size(), EColor64K) ); // is 64k still valid?
+ User::LeaveIfError( iBitmap->Create(skinRect.Size(), EColor16MAP) );
}
User::LeaveIfError(iBitmap->Resize(skinRect.Size()));
@@ -323,7 +323,7 @@
void UpdateWgListL()
{
TInt wgId=0;
- const TInt count=iWsSession.NumWindowGroups();
+ TInt count=iWsSession.NumWindowGroups();
if (count)
{
TInt* ptr = iWgIdArray;
@@ -333,6 +333,8 @@
CApaWindowGroupName* wgName=CApaWindowGroupName::NewL(iWsSession);
CleanupStack::PushL(wgName);
User::LeaveIfError(iWsSession.WindowGroupList(wgIdArray)); // all groups
+ count = wgIdArray->Count(); // count might have changed
+
iWgEntriesWritten = 0;
for (TInt ii=0; ii < count-1; ii++)
{