From 55114d934fbeb4a330af416a0a19b13bdafec45b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 10 Jun 2005 00:27:31 +0000 Subject: [PATCH] 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 --- wxPython/wx/lib/pydocview.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython/wx/lib/pydocview.py b/wxPython/wx/lib/pydocview.py index 0314e5141b..57327ea806 100644 --- a/wxPython/wx/lib/pydocview.py +++ b/wxPython/wx/lib/pydocview.py @@ -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() -- 2.47.2