]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/xrced.py
Document EVT_TREE_STATE_IMAGE_CLICK (Windows only)
[wxWidgets.git] / wxPython / wx / tools / XRCed / xrced.py
index 1cdb52788e8090a77633859378e866f029986499..730bf823bad7e148bcb7247021b3f3a4df4f3f60 100644 (file)
@@ -716,7 +716,6 @@ Homepage: http://xrced.sourceforge.net\
 
     # Simple emulation of python command line
     def OnDebugCMD(self, evt):
-        import traceback
         while 1:
             try:
                 exec raw_input('C:\> ')
@@ -1033,6 +1032,8 @@ Homepage: http://xrced.sourceforge.net\
             self.modified = False
             panel.SetModified(False)
         except:
+            inf = sys.exc_info()
+            wxLogError(traceback.format_exception(inf[0], inf[1], None)[-1])
             wxLogError('Error writing file: %s' % path)
             raise