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

wxPGId wxPropertyGrid::GetLastChild ( wxPGId  id ) [inline]

Returns id of last child of given property.

Returns even sub-properties.

Definition at line 5261 of file propgrid.h.

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


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

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index