]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Another package name fix
[wxWidgets.git] / wxPython / demo / Main.py
index 748c58060c47e2a5b5cfbb97a2724ecaba1d6ca7..ba1b09105990a63f781ef77945dc93f66f9e3427 100644 (file)
@@ -1772,8 +1772,9 @@ class MySplashScreen(wx.SplashScreen):
         if self.fc.IsRunning():
             self.Raise()
         
         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
     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()
 
         splash = MySplashScreen()
         splash.Show()
 
+        # Setup the InspectionMixin
+        self.Init()
+        
         return True
 
 
         return True