X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cf424f813b011700b01ac9264b9a48aaf9d768..56ba0394113fe3eba49632c7ad567db9e085ce12:/wxPython/src/_textctrl.i diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index f735f344eb..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 @@ -346,6 +352,10 @@ the client area origin nor scrolling. ", "", #ifdef __WXMAC__ virtual void MacCheckSpelling(bool check); +#else + %extend { + void MacCheckSpelling(bool check) {} + } #endif // generate the wxEVT_COMMAND_TEXT_UPDATED event, like SetValue() does