: __pPm(null)
, __pPanningAnimationManager(null)
, __pBitmapFocus(null)
+ , __pGoToDatePopup(null)
{
memset((void *)__pPanelYearCalendar, 0, sizeof(Panel*) * VIEW_SCROLL_EFFECT_COUNT);
memset((void *)__pBitmapWeekText, 0, sizeof(Bitmap*) * YEAR_PANEL_COUNT_OF_WEEK);
pCalendarPanel->SetDateFocusEventListener(*this);
__pPanelYearCalendar[VIEW_SCROLL_EFFECT_CURRENT] = pCalendarPanel;
+ __pGoToDatePopup = new (std::nothrow) GoToDatePopup();
+ __pGoToDatePopup->Initialize();
+
return E_SUCCESS;
}
}
delete __pBitmapFocus;
+ if (__pGoToDatePopup)
+ {
+ __pGoToDatePopup->Destroy();
+ }
+
return E_SUCCESS;
}
__pPm->SetTodayToCurrentDate();
break;
case IDA_SUB_MENU_GO_TO_DATE:
- GoToDatePopup::RequestGoToDate(__pPm->GetCurrentDate(), this);
+ __pGoToDatePopup->RequestPopup(__pPm->GetCurrentDate(), this);
break;
case IDA_MAIN_FORM_FOOTER_CREATE:
{