[PythonReports-users] Migrating PythonReports editor to wxPython 2.9
Brought to you by:
a1s
From: kacah <kac...@gm...> - 2012-12-08 15:40:16
|
First of all I think I should create new discussion for PythonReports editor problems onwxPython 2.9, because of "Patch for editor save and save-as options" is not the problem, and I don't know why are you discussing all bugs under that topic. That's why I think mailing lists are completelyunreadable... 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". 2) There are some background color problems with Plate Buttons. Background color of Elements tree also should be fixed. 3) "..." missing in list elements, because of PropertyGrid is for "wxPython 2.8". "..." is missing in all non standart PropertyGrid properties (in all, that starts with Py...). ListProperty is inherited from PyLongStringProperty, so it also has this bug. 4) There were huge problems with size, minsize and sizer of sections developing this editor, so for now I don't know normal solution for minsize problem. I believe we should search for it only after wxPython 2.9 release, because of it may not work with current wxPython 2.8 version. I suggest you to use wxPython 2.8 with PythonReports for now. If you wan't to use wxPython 2.9 in your projects maybe this can help you: http://www.wxpython.org/docs/api/wxversion-module.html |