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:
@@ -1185,7 +1185,7 @@ class DocService(wx.EvtHandler):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Initializes the DocService."""
|
"""Initializes the DocService."""
|
||||||
pass
|
wx.EvtHandler.__init__(self)
|
||||||
|
|
||||||
|
|
||||||
def GetDocumentManager(self):
|
def GetDocumentManager(self):
|
||||||
@@ -2338,6 +2338,7 @@ class AboutService(DocService):
|
|||||||
"""
|
"""
|
||||||
Initializes the AboutService.
|
Initializes the AboutService.
|
||||||
"""
|
"""
|
||||||
|
DocService.__init__(self)
|
||||||
if aboutDialog:
|
if aboutDialog:
|
||||||
self._dlg = aboutDialog
|
self._dlg = aboutDialog
|
||||||
self._image = None
|
self._image = None
|
||||||
@@ -2405,6 +2406,7 @@ class FilePropertiesService(DocService):
|
|||||||
"""
|
"""
|
||||||
Initializes the PropertyService.
|
Initializes the PropertyService.
|
||||||
"""
|
"""
|
||||||
|
DocService.__init__(self)
|
||||||
self._customEventHandlers = []
|
self._customEventHandlers = []
|
||||||
|
|
||||||
|
|
||||||
@@ -2708,6 +2710,7 @@ class WindowMenuService(DocService):
|
|||||||
"""
|
"""
|
||||||
Initializes the WindowMenu and its globals.
|
Initializes the WindowMenu and its globals.
|
||||||
"""
|
"""
|
||||||
|
DocService.__init__(self)
|
||||||
self.ARRANGE_WINDOWS_ID = wx.NewId()
|
self.ARRANGE_WINDOWS_ID = wx.NewId()
|
||||||
self.SELECT_WINDOW_1_ID = wx.NewId()
|
self.SELECT_WINDOW_1_ID = wx.NewId()
|
||||||
self.SELECT_WINDOW_2_ID = wx.NewId()
|
self.SELECT_WINDOW_2_ID = wx.NewId()
|
||||||
|
Reference in New Issue
Block a user