arnoldmashava / winpdb

Automatically exported from code.google.com/p/winpdb
0 stars 0 forks source link

Fix for dead object error on exit #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This patch fixes this error that happens when exiting the program.

Traceback (most recent call last):
  File "winpdb.py", line 2231, in OnLoseFocus

self.m_caption.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_INA
CTIVECAPTION))
  File
"//usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.6/site-packages/wx-2.8-mac
-unicode/wx/_core.py",
line 14522, in __getattr__
    raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the CCaption object has been
deleted, attribute access no longer allowed.

Original issue reported on code.google.com by CodyPrec...@gmail.com on 8 Nov 2008 at 5:56

Attachments:

GoogleCodeExporter commented 9 years ago
Commited to hg repository with minor code style modifications.

Thanks for this patch,
Nir

Original comment by nir1...@gmail.com on 11 Nov 2008 at 8:45