X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6df870588070fec31fc2d5b2e0b808254b9882f7..26ee65c723cf55822c540506f064ec11d9b26858:/wxPython/src/_textctrl.i diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index e012776b25..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 @@ -344,7 +350,13 @@ the client area origin nor scrolling. ", "", 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();