# 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))
if self.fc.IsRunning():
self.Raise()
+import wx.lib.mixins.inspect
-class MyApp(wx.App):
+class MyApp(wx.App, wx.lib.mixins.inspect.InspectionMixin):
def OnInit(self):
"""
Create and show the splash screen. It will then create and show
splash = MySplashScreen()
splash.Show()
+ # Setup the InspectionMixin
+ self.Init()
+
return True