X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cf424f813b011700b01ac9264b9a48aaf9d768..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_textctrl.i diff --git a/wxPython/src/_textctrl.i b/wxPython/src/_textctrl.i index f735f344eb..f6755ef430 100644 --- a/wxPython/src/_textctrl.i +++ b/wxPython/src/_textctrl.i @@ -346,6 +346,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