I am not sure if this would be the right place to ask this question but I
figure there is no harm in asking and if it is the wrong place then just
disregard the questoin.
I am working with 3 seperate panels in a wx.Frame. One panel is used as a
status bar at the bottom displaying data. One of the panels is used as a
custom toolbar on the left side and the other Panel is used for multiple
things, collecting user info, which is displayed at the bottom and then
displaying a graph of data from a file, where the user has to chose
segments of the data, and then the graph needs to be redrawn.
My problem is when i go to destroy the first Graph panel, because there is
user input in between the first and second Graph, i get this error.
Traceback (most recent call last):
File "c:\python23\lib\site-packages\wxmpl.py", line 1102, in OnActivate
self.cursor.setNormal()
File "C:\PYTHON23\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py", line
13485, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the PlotPanel object has been
deleted, attribute access no longer allowed.
This only happens when I have clicked the exit button or the File, exit on
themenu, and the Exit dialog pops up. When i click yes, this error prints
out
Traceback (most recent call last):
File "c:\python23\lib\site-packages\wxmpl.py", line 1102, in OnActivate
self.cursor.setNormal()
File "C:\PYTHON23\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py", line
13485, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the PlotPanel object has been
deleted, attribute access no longer allowed.
Traceback (most recent call last):
File "c:\python23\lib\site-packages\wxmpl.py", line 1102, in OnActivate
self.cursor.setNormal()
File "C:\PYTHON23\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py", line
13485, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the PlotPanel object has been
deleted, attribute access no longer allowed.
Is anyone familiar with these or how i could get rid of them?