X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf7159c8211a398e573122c66b93722f5125c60..3bf93e1e9ac6b61e5220967d2ada2d4faec4dd9c:/wxPython/samples/pydocview/PyDocViewDemo.py diff --git a/wxPython/samples/pydocview/PyDocViewDemo.py b/wxPython/samples/pydocview/PyDocViewDemo.py index 7f7790d145..744d540d64 100644 --- a/wxPython/samples/pydocview/PyDocViewDemo.py +++ b/wxPython/samples/pydocview/PyDocViewDemo.py @@ -33,8 +33,8 @@ class TextEditorApplication(pydocview.DocApp): 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")) @@ -60,7 +60,7 @@ class TextEditorApplication(pydocview.DocApp): # 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"):