Add MacCheckSpelling()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-06-13 06:17:21 +00:00
parent 9323b75f27
commit 8c1eb0970a
2 changed files with 12 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ def run():
searchCtrl.find('LoadFile').ignore()
searchCtrl.find('SaveFile').ignore()
searchCtrl.find('MacCheckSpelling').ignore()
# Add some properties that autoProperties would not see because they are

View File

@@ -64,6 +64,17 @@ def parseAndTweakModule():
c.find('OnDropFiles').ignore()
tools.fixWindowClass(c)
c.addCppMethod('void', 'MacCheckSpelling', '(bool check)',
doc="""\
Turn on the native spell checking for the text widget on
OSX. Ignored on other platforms.
""",
body="""\
#ifdef __WXMAC__
self->MacCheckSpelling(check);
#endif
""")
c = module.find('wxTextUrlEvent')