| 706 | //----------------------------------------------------------------------------- |
| 707 | |
| 708 | GuiTreeViewCtrl::Item* GuiTreeViewCtrl::Item::findChildByName( const char* name ) |
| 709 | { |
| 710 | Item* child = mChild; |
| 711 | while( child ) |
| 712 | { |
| 713 | if( dStricmp( child->mScriptInfo.mText, name ) == 0 ) |
| 714 | return child; |
| 715 | |
| 716 | child = child->mNext; |
| 717 | } |
| 718 | |
| 719 | return NULL; |
| 720 | } |
| 721 | |
| 722 | //----------------------------------------------------------------------------- |
| 723 |
no test coverage detected