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

wxPGId wxPropertyGrid::GetLastProperty (  ) [inline]

Returns id of last item. Ignores categories and sub-properties.

Definition at line 5248 of file propgrid.h.

References wxPGProperty::GetParentingType(), and wxPropertyGridManager::GetPrevProperty().

        if ( !m_pState->m_properties->GetCount() ) return wxPGIdGen((wxPGProperty*)NULL);
        wxPGProperty* p = GetLastItem(false, false);
        if ( p->GetParentingType() > 0 )
            return GetPrevProperty ( wxPGIdGen(p) );
        return wxPGIdGen(p);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index