mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user