Re: Custom grid cell editor: GridCellComboBoxEditor
ioprst <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
The problem disappears if comment out the following lines in the Create
method
if evtHandler:
self.control.PushEventHandler(evtHandler)
But then an error occurs when closing the window
Traceback (most recent call last):
File "D:/project/designer/widgets/GridCellComboBoxEditor.py", line 87, in
<module>
app.MainLoop()
File "C:\Python37-32\lib\site-packages\wx\core.py", line 2167, in MainLoop
rv = wx.PyApp.MainLoop(self)
wx._core.wxAssertionError: C++ assertion "firstHandler != this" failed at
..\..\src\common\wincmn.cpp(1461) in wxWindowBase::PopEventHandler():
cannot pop the wxWindow itself
Process finished with exit code 1
--
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/81f574df-6179-4f24-8087-ca50c24319d6%40googlegroups.com.