Hello,
I do have a strange behavior (most likely a misunderstanding about how to use it correctly) when using the propertygrid manager.
Some background infos first.
I do have an working app built with wxPython 3.0.2.0 GTK (classic) which uses the propertygridmanager class
and the way how I implemented it without a problem.
Now I 'm in the process of converting it to use wxPython 4.0.0a1 and I do get a segmentation fault when running the app.
I tracked down that the following code is causing this
self.propview = wxpg.PropertyGridManager(self,
id=wx.ID_ANY,
pos=wx.DefaultPosition,
size=wx.DefaultSize,
style=wxpg.PG_BOLD_MODIFIED |
wxpg.PG_SPLITTER_AUTO_CENTER |
wxpg.PG_TOOLBAR |
wxpg.PG_DESCRIPTION |
wxpg.PGMAN_DEFAULT_STYLE)
``
Trying to track it further down I created a standalone app using the same code and here the code works but with different results.
Using classic results in this http://i.imgur.com/5AMenrN.png
but using version 4 results in this http://i.imgur.com/CeiM5Mr.png
But NO seg fault.
Attached the code which I use.
What I’m looking for is how to track down why my app does something which causes this seg fault.
Any ideas what I could do?
Note, I’m using linux ubuntu.
Cheers
Claudia
init.py|attachment (7.08 KB)