From: Kevin Ollivier Date: Tue, 21 Nov 2006 07:16:20 +0000 (+0000) Subject: Turn off spell-checking in the demo log window. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67d6c8cb7ea8613efd737c38dd23cd6083cc5800 Turn off spell-checking in the demo log window. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 0598adb064..748c58060c 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -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))