void hkDefaultDemo::mouseUp()
{
	if(m_mouseActive)
	{
		objectReleased();
		m_mouseActive = false;
	}
}
Exemple #2
0
void GxxObject::release()
{
	retainCount -= 1;
	if (retainCount == 0)
	{
		objectReleased();
		delete this;
	}
}