示例#1
0
文件: TreeBox.cpp 项目: aleixpuig/PCL
TreeBox::Node::Node( TreeBox& parentTree, int index ) :
   UIObject( (*API->TreeBox->CreateTreeBoxNode)( ModuleHandle(), this ) )
{
   if ( IsNull() )
      throw APIFunctionError( "CreateTreeBoxNode" );
   if ( !parentTree.IsNull() )
      parentTree.Insert( index, this );
}