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

void wxPropertyGrid::SetPropertyValueString ( wxPGId  id,
const wxString &  value 
)

Sets value (wxString) of a property.

Remarks:
This method uses wxPGProperty::SetValueFromString, which all properties should implement. This means that there should not be a type error, and instead the string is converted to property's actual value type.

Definition at line 4623 of file propgrid.cpp.

{
    wxPG_PROP_ID_CALL_PROLOG()

    if ( m_pState->SetPropertyValueString(p,value) )
        DrawItemAndValueRelated( p );
}

Generated by  Doxygen 1.6.0   Back to index