]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes for bug #1217872 pydocview.DocService not correctly initialized
authorRobin Dunn <robin@alldunn.com>
Fri, 10 Jun 2005 00:27:31 +0000 (00:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 10 Jun 2005 00:27:31 +0000 (00:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/pydocview.py

index 0314e5141b4770c1d3da75e09a1d045f4f849c8d..57327ea806614bb3c17b0b727ecd55f1cce35aad 100644 (file)
@@ -1185,7 +1185,7 @@ class DocService(wx.EvtHandler):
 
     def __init__(self):
         """Initializes the DocService."""
-        pass
+        wx.EvtHandler.__init__(self)
 
 
     def GetDocumentManager(self):
@@ -2338,6 +2338,7 @@ class AboutService(DocService):
         """
         Initializes the AboutService.
         """
+        DocService.__init__(self)
         if aboutDialog:
             self._dlg = aboutDialog
             self._image = None
@@ -2405,6 +2406,7 @@ class FilePropertiesService(DocService):
         """
         Initializes the PropertyService.
         """
+        DocService.__init__(self)
         self._customEventHandlers = []
 
 
@@ -2708,6 +2710,7 @@ class WindowMenuService(DocService):
         """
         Initializes the WindowMenu and its globals.
         """
+        DocService.__init__(self)
         self.ARRANGE_WINDOWS_ID = wx.NewId()
         self.SELECT_WINDOW_1_ID = wx.NewId()
         self.SELECT_WINDOW_2_ID = wx.NewId()