Fixed build error
[apps/osp/Call.git] / src / CallDtmfKeypadPanel.cpp
index 066e618..d86d432 100644 (file)
@@ -103,13 +103,13 @@ DtmfKeyPadPanel::OnInitializing(void)
 
        //Set background bitmap
        Label* pKeyBgLbl = static_cast<Label*>(GetControl(IDC_DTMF_KEY_BG_LABEL, true));
-       Bitmap* pKeyBgBitmap = AppUtility::GetBitmapFromResourcesN(IDB_KEYPAD_BG, pKeyBgLbl->GetWidth(), pKeyBgLbl->GetHeight());
+       /*Bitmap* pKeyBgBitmap = AppUtility::GetBitmapFromResourcesN(IDB_KEYPAD_BG, pKeyBgLbl->GetWidth(), pKeyBgLbl->GetHeight());
        if (pKeyBgBitmap != null)
        {
                pKeyBgLbl->SetBackgroundBitmap(*pKeyBgBitmap);
                delete pKeyBgBitmap;
                pKeyBgBitmap = null;
-       }
+       }*/
 
        //DTMF Keys panel
        Panel* pKeysPanel = new (std::nothrow) Panel();
@@ -413,7 +413,7 @@ DtmfKeyPadPanel::DrawTextToCanvas(const String& buttonText, int textFontStyle, C
        pTextElement->SetFont(*font);
 
        //get dimensions of the text
-       Dimension textDimension;
+       FloatDimension textDimension;
        font->GetTextExtent(buttonText, buttonText.GetLength(), textDimension);
        textDimension.height = textDimension.height + font->GetDescender();
        //create enriched text