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

wxPGId wxPropertyGrid::Append ( wxPGProperty property )

Appends property to the list. wxPropertyGrid assumes ownership of the object. Becomes child of most recently added category.

Remarks:
  • wxPropertyGrid takes the ownership of the property pointer.
  • If appending a category with name identical to a category already in the wxPropertyGrid, then newly created category is deleted, and most recently added category (under which properties are appended) is set to the one with same name. This allows easier adding of items to same categories in multiple passes.
  • Does not automatically redraw the control, so you may need to call Refresh when calling this function after control has been shown for the first time.

Definition at line 4482 of file propgrid.cpp.

{
    return FROM_STATE(Append(property));
}

Generated by  Doxygen 1.6.0   Back to index