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

void wxsPropertyGridManager::RestoreSelected ( const SelectionData Data = 0 ) [private]

Restoring selected property.

Parameters:
Datastructure containing selection data, if NULL, selection will be resotred from internal variable

Definition at line 274 of file wxspropertygridmanager.cpp.

References wxPropertyGridManager::GetPageCount(), LastSelection, wxPropertyGridManager::SelectPage(), and wxPropertyGridManager::SelectProperty().

{
    if ( !Data )
    {
        Data = &LastSelection;
    }

    if ( Data->m_PageIndex < 0 ) return;
    if ( Data->m_PageIndex >= (int)GetPageCount() ) return;
    if ( Data->m_PropertyName.IsEmpty() ) return;

    SelectPage(Data->m_PageIndex);
    SelectProperty(Data->m_PropertyName);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index