// @pymethod <o PyCEdit>|PyCTreeCtrl|GetEditControl|Retrieves the handle of the edit control used to edit the specified tree view item. PyObject *PyCTreeCtrl_GetEditControl( PyObject *self, PyObject *args ) { CTreeCtrl *pList = GetTreeCtrl(self); if (!pList) return NULL; if (!PyArg_ParseTuple( args, ":GetEditControl")) return NULL; GUI_BGN_SAVE; CEdit *pEdit = pList->GetEditControl(); GUI_END_SAVE; if (pEdit==NULL) RETURN_ERR("GetEditControl failed"); return ui_assoc_object::make(UITypeFromCObject(pEdit), pEdit)->GetGoodRet(); }