dabo Commit
Revision 7128
Date: 2012-03-29 15:07:23 -0700 (Thu, 29 Mar 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7128

Changed:
U   trunk/dabo/ui/uiwx/uiApp.py

Log:
Turn on the spell checker on Mac, although even though "check spelling as you 
type"
is checked it doesn't actually do it. Perhaps we are eating an event somewhere 
or
maybe it just doesn't work in the wx layer either.

TODO: Make a property to turn this on and off at the dTextBox/dEditBox level.


Diff:
Modified: trunk/dabo/ui/uiwx/uiApp.py
===================================================================
--- trunk/dabo/ui/uiwx/uiApp.py 2012-03-29 21:00:33 UTC (rev 7127)
+++ trunk/dabo/ui/uiwx/uiApp.py 2012-03-29 22:07:23 UTC (rev 7128)
@@ -419,6 +419,7 @@
 
 
        def setup(self):
+               
wx.SystemOptions.SetOptionInt("mac.textcontrol-use-spell-checker", 1) 
                frm = self.dApp.MainForm
                if frm is None:
                        if self.dApp.MainFormClass is not None:



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to