]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/pydocview.py
More WXDLLIMPEXP_GIZMOS fixes
[wxWidgets.git] / wxPython / wx / lib / pydocview.py
index 94e41b48ba3503435260f892628729ac356ecfb5..3e7b7b8fb8bdab47f575ccd6d98b1b446b44fa21 100644 (file)
@@ -252,8 +252,7 @@ class OptionsDialog(wx.Dialog):
         sizer = wx.BoxSizer(wx.VERTICAL)
 
         optionsNotebook = wx.Notebook(self, -1, size = (310, 375), style = wx.NB_MULTILINE)
-        optionsNotebookSizer = wx.NotebookSizer(optionsNotebook)
-        sizer.Add(optionsNotebookSizer, 0, wx.ALL | wx.EXPAND, SPACE)
+        sizer.Add(optionsNotebook, 0, wx.ALL | wx.EXPAND, SPACE)
         for optionsPanelClass in optionsPanelClasses:
             optionsPanel = optionsPanelClass(optionsNotebook, -1)
             self._optionsPanels.append(optionsPanel)
@@ -559,6 +558,7 @@ class DocApp(wx.PySimpleApp):
             service.OnExit()
         config = wx.ConfigBase_Get()
         self._docManager.FileHistorySave(config)
+        del self._singleInstanceChecker
 
     
     def GetDefaultDocManagerFlags(self):