Re: [PythonReports-users] Migrating PythonReports editor to wxPython 2.9
Brought to you by:
a1s
From: alexander s. <al...@go...> - 2012-12-09 08:01:59
|
On 08.12.2012 20:07, Werner F. Bruhin wrote: > >> 1) Plate Button has _SetState method instead of SetState in wxPython >> 2.9. So the fix is simple. Just replace all "SetState" occurrences in >> PythonReports/editor/elements/container.py file to "_SetState". > > Yes, one could just change it to _SetState (as I did in the suggested > patch), but I don't understand why you even call SetState - was it a > problem in 2.8? Yes, why? >> 3) "..." missing in list elements, because of PropertyGrid is for >> "wxPython 2.8". > > Again if the one change I suggested causes an issue in 2.8 > then why not make it conditional on the wx version. Your change works well with 2.8 and is included in PythonReports version 0.6.1. > Wouldn't you want to keep PythonReports compatible in one source code > for 2.8.x and 2.9.x I would definitely want that. Best wishes, alex. |