Re: Error closing dialog after editing grid

ioprst <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Thank. Now it’s clear why the problem is solved by calling 
self.table._updateColAttrs (self.grid) after editing. Because there is a 
call to the grid.ForceRefresh () method.

среда, 6 ноября 2019 г., 11:24:36 UTC+3 пользователь Rene Roos написал:
>
> Hi,
>
> I had similar problems which only occurred after editing a cell in the 
> grid and from my point of view it was an wx core issue.
> As workaround, a grid.ForceRefresh() is called before disposing 
> (destroying) the grid.
>
> On Wednesday, November 6, 2019 at 9:13:47 AM UTC+1, ioprst wrote:
>>
>> The program ends with an error
>>
>> Exception ignored in: 'garbage collection'
>> wx._core.wxAssertionError: C++ assertion "firstHandler != this" failed at 
>> ..\..\src\common\wincmn.cpp(1461) in wxWindowBase::PopEventHandler(): 
>> cannot pop the wxWindow itself
>> Fatal Python error: unexpected exception during garbage collection
>>
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/04f4d8b2-d103-437b-8a01-8a5fc041cf13%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.