]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/inspection.py
wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines...
[wxWidgets.git] / wxPython / wx / lib / inspection.py
index 38137ea606232a267a9857a17019e7fd2c458ce7..8b4789ba87dfcfcfc03b288ff8d0423bc064b920 100644 (file)
@@ -221,6 +221,8 @@ class InspectionFrame(wx.Frame):
 
     def OnClose(self, evt):
         self.SaveSettings(self.config)
+        self.mgr.UnInit()
+        del self.mgr
         evt.Skip()
         
 
@@ -533,6 +535,9 @@ class InspectionInfoPanel(wx.stc.StyledTextCtrl):
 
 
     def FmtSizerItem(self, obj):
+        if obj is None:
+            return ['SizerItem: None']
+        
         st = ['SizerItem:']
         st.append(self.Fmt('proportion', obj.GetProportion()))
         st.append(self.Fmt('flag',