]> git.saurik.com Git - wxWidgets.git/commitdiff
Turn off spell-checking in the demo log window.
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 21 Nov 2006 07:16:20 +0000 (07:16 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 21 Nov 2006 07:16:20 +0000 (07:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index 0598adb064a3e9ddfad7ba389fdf4adb02d4f716..748c58060c47e2a5b5cfbb97a2724ecaba1d6ca7 100644 (file)
@@ -1305,6 +1305,8 @@ class wxPythonDemo(wx.Frame):
         # Set up a log window
         self.log = wx.TextCtrl(splitter2, -1,
                               style = wx.TE_MULTILINE|wx.TE_READONLY|wx.HSCROLL)
+        if wx.Platform == "__WXMAC__":
+            self.log.MacCheckSpelling(False)
 
         # Set the wxWindows log target to be this textctrl
         #wx.Log_SetActiveTarget(wx.LogTextCtrl(self.log))