generate middle click events (backport from HEAD of the patch 1521314)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-25 00:12:51 +00:00
parent 30bb87ad00
commit ea839c294e
3 changed files with 68 additions and 1 deletions

View File

@@ -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