X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f3bf980f6a774a3cc3e975c509f3dc83d528ba9..26ee65c723cf55822c540506f064ec11d9b26858:/wxPython/src/_textctrl.i?ds=sidebyside diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index 630ba209ba..39c10fb7a4 100644 --- a/wxPython/src/_textctrl.i +++ b/wxPython/src/_textctrl.i @@ -70,6 +70,12 @@ enum { %pythoncode { TE_LINEWRAP = TE_CHARWRAP } +// deprecated synonymns +%pythoncode { +PROCESS_ENTER = TE_PROCESS_ENTER +PASSWORD = TE_PASSWORD +} + enum wxTextAttrAlignment @@ -343,6 +349,14 @@ the client area origin nor scrolling. ", "", virtual void SetSelection(long from, long to); virtual void SelectAll(); virtual void SetEditable(bool editable); + +#ifdef __WXMAC__ + virtual void MacCheckSpelling(bool check); +#else + %extend { + void MacCheckSpelling(bool check) {} + } +#endif // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does void SendTextUpdatedEvent();