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

void wxPropertyContainerMethods::SetPropertyEditor ( wxPGId  id,
const wxPGEditor editor 
) [inline, inherited]

Sets editor control of a property. As editor argument, use wxPG_EDITOR(EditorName), where basic built-in editor names are TextCtrl, Choice, ComboBox, CheckBox, TextCtrlAndButton, and ChoiceAndButton. Additional editors include SpinCtrl and DatePickerCtrl, which also require wxPropertyGrid::RegisterAdditionalEditors() call prior using.

Definition at line 4218 of file propgrid.h.

Referenced by wxCustomPropertyClass::SetAttribute().

    {
        wxPG_PROP_ID_CALL_PROLOG()
        wxCHECK_RET( editor, wxT("unknown/NULL editor") );
        p->SetEditor(editor);
        RefreshProperty(p);
    }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index