Fixes for bug #1217872 pydocview.DocService not correctly initialized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-06-10 00:27:31 +00:00
parent 492b6f0a6f
commit 55114d934f

View 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()