X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d6c8cb7ea8613efd737c38dd23cd6083cc5800..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/Main.py?ds=sidebyside diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 748c58060c..ba1b091059 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -1772,8 +1772,9 @@ class MySplashScreen(wx.SplashScreen): 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 @@ -1794,6 +1795,9 @@ class MyApp(wx.App): splash = MySplashScreen() splash.Show() + # Setup the InspectionMixin + self.Init() + return True