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

void wxPropertyGrid::SetPropertyTextColour ( wxPGId  id,
const wxColour &  col 
)

Sets text colour of property and all its children.

Remarks:
Children which already have custom text colour are not affected.

Definition at line 4425 of file propgrid.cpp.

{
    wxPG_PROP_ID_CALL_PROLOG()

    // Set indexes
    SetTextColourIndex(p, CacheColour(colour), wxPG_RECURSE|wxPG_RECURSE_STARTS );

    // If this was on a visible grid, then draw it.
    DrawItemAndChildren(p);
}

Generated by  Doxygen 1.6.0   Back to index