Exemple #1
0
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

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

	pDockParent->OnRedundantChildDock( this );
}
void DockBase::DoRedundancyCheck()
{
	if ( !IsEmpty() ) return;

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

	pDockParent->OnRedundantChildDock( this );
}