Ejemplo n.º 1
0
void geGUIBase::DragLeave()
{
	if(m_uGUIID==GEGUI_LAYOUT && getActiveWindowPtrOnlyForLayout())	//layout hack
	{
		getActiveWindowPtrOnlyForLayout()->DragLeave();
	}
	else
	{
		for(std::vector<geGUIBase*>::iterator it = m_vControls.begin(); it != m_vControls.end(); ++it)
		{
			geGUIBase* obj = *it;
			obj->DragLeave();
		}
	}
	onDragLeave();
}
Ejemplo n.º 2
0
//-----------------------------------------------------------------------------
void CFrame::platformOnDragLeave (IDataPackage* drag, const CPoint& where)
{
	CollectInvalidRects cir (this);
	return onDragLeave (drag, where);
}