Re: [PythonReports-users] [wxPython-users] Fwd: Adding a Field to Detail band
Brought to you by:
a1s
From: Robin D. <ro...@al...> - 2012-12-07 01:17:55
|
On 12/5/12 12:57 AM, Werner wrote: > > It looks like a bug in wxPropertyGrid: logically, field names and > category names would go to different name spaces. > > And you get the exception because you use development version of > wxPython which has assertions enabled. Starting with 2.9 all builds will have assertions enabled by default, and IMO it is wrong to ever turn them off for wxPython. If something triggers an assertion then it means that the calling code has done something wrong and it is much nicer to get an exception raised than to silently ignore it or possibly crash. > > End Quote > > This is what I get when I run it with 1.4.15 installed into wxPython > 2.8.12 in the prop grid, so it confirms that there is problem with > duplicate name, hopefully fix will make it into 2.9.5:-) . Is there a ticket for it in wx's Trac? I think 2.9.5 is coming pretty soon so it may not make it in unless Jaakko jumps on it right away. -- Robin Dunn Software Craftsman http://wxPython.org |