_WebPopup::~_WebPopup(void)
{
_WebManager* pWebManager = _WebManager::GetInstance();
- pWebManager->RemoveActivePopup(reinterpret_cast< int >(this));
+ pWebManager->RemoveActivePopup(this);
if (IsModalPopup())
{
result r = E_SUCCESS;
_WebManager* pWebManager = _WebManager::GetInstance();
- pWebManager->SetActivePopup(reinterpret_cast< int >(this));
+ pWebManager->SetActivePopup(this);
r = SetShowState(true);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
_WebPopup::ShowAndWait(int& modalResult)
{
_WebManager* pWebManager = _WebManager::GetInstance();
- pWebManager->SetActivePopup(reinterpret_cast< int >(this));
+ pWebManager->SetActivePopup(this);
__isModal = true;