From a8e358c0729c157e1eb31858671fd14310150a46 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 5 Feb 2007 21:18:31 +0000 Subject: [PATCH] Add premixed InspectableApp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/mixins/inspect.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wxPython/wx/lib/mixins/inspect.py b/wxPython/wx/lib/mixins/inspect.py index a426e41859..b6a5f82c61 100644 --- a/wxPython/wx/lib/mixins/inspect.py +++ b/wxPython/wx/lib/mixins/inspect.py @@ -75,3 +75,14 @@ class InspectionMixin(object): #--------------------------------------------------------------------------- +class InspectableApp(wx.App, InspectionMixin): + """ + A simple mix of wx.App and InspectionMixin that can be used stand-alone. + """ + + def OnInit(self): + self.Init() + return True + +#--------------------------------------------------------------------------- +