]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/pydocview/PyDocViewDemo.py
subclass all updown controls in notebooks, not just the first one
[wxWidgets.git] / wxPython / samples / pydocview / PyDocViewDemo.py
index 7f7790d145a21f1dbdeebe9fd80f7c0f116a5215..dcd3c189a1cfff6c60f9069ba3364aad6b2e58a3 100644 (file)
@@ -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"):