Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

wxPGId wxPropertyContainerMethods::GetFirstChild ( wxPGId  id ) [inline, inherited]

Returns id of first child of given property.

Does not return sub-properties!

Definition at line 3402 of file propgrid.h.

References wxPGPropertyWithChildren::GetCount(), wxPGProperty::GetParentingType(), and wxPGPropertyWithChildren::Item().

        wxPGPropertyWithChildren* pwc = (wxPGPropertyWithChildren*) p;
        if ( pwc->GetParentingType()==0 || pwc->GetParentingType()==-1 || !pwc->GetCount() )
            return wxNullProperty;
        return wxPGIdGen(pwc->Item(0));

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index