@pymethod |PyCEditView|GetEditCtrl|returns the underlying edit control object.
| 713 | |
| 714 | // @pymethod <o PyCEditCtrl>|PyCEditView|GetEditCtrl|returns the underlying edit control object. |
| 715 | static PyObject * |
| 716 | ui_edit_get_edit_ctrl(PyObject *self, PyObject *args) |
| 717 | { |
| 718 | CPythonEditView *pView = GetEditViewPtr(self); |
| 719 | if (!pView) |
| 720 | return NULL; |
| 721 | GUI_BGN_SAVE; |
| 722 | CEdit &ed = pView->GetEditCtrl(); |
| 723 | GUI_END_SAVE; |
| 724 | return ui_assoc_object::make( UITypeFromCObject(&ed), &ed )->GetGoodRet(); |
| 725 | } |
| 726 | |
| 727 | // @pymethod |PyCEditView|SetModifiedFlag|Sets the modified flag for the view's document. |
| 728 | static PyObject * |
nothing calls this directly
no test coverage detected