Ejemplo n.º 1
0
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

	DockBase* pDockParent = GetParent()->DynamicCastDockBase();
	if ( !pDockParent ) return;

	pDockParent->OnRedundantChildDock( this );
}
Ejemplo n.º 2
0
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

	DockBase* pDockParent = gwen_cast<DockBase>( GetParent() );
	if ( !pDockParent ) return;

	pDockParent->OnRedundantChildDock( this );
}