pydocview.DocApp.OnInit(self)
# Show the splash dialog while everything is loading up
- if os.path.exists("splash.jpg"):
- self.ShowSplash("splash.jpg")
+ if os.path.exists("splash.png"):
+ self.ShowSplash("splash.png")
# Set the name and the icon
self.SetAppName(_("wxPython PyDocView Demo"))
# Install services - these can install menu and toolbar items
textService = self.InstallService(TextEditor.TextService())
findService = self.InstallService(FindService.FindService())
- optionsService = self.InstallService(pydocview.DocOptionsService())
+ optionsService = self.InstallService(pydocview.DocOptionsService(supportedModes=wx.lib.docview.DOC_MDI))
windowMenuService = self.InstallService(pydocview.WindowMenuService())
filePropertiesService = self.InstallService(pydocview.FilePropertiesService())
if os.path.exists("splash.jpg"):