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
This commit is contained in:
Kevin Ollivier 2006-11-21 07:16:20 +00:00
parent 06cf424f81
commit 67d6c8cb7e

View 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))