Пример #1
0
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

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

	pDockParent->OnRedundantChildDock( this );
}
Пример #2
0
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

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

	pDockParent->OnRedundantChildDock( this );
}