Dear:
Thank you for your excellent work in py3k + phoenix, just using 2to3
and minor fixes I almost could get my code working from wx2.8 to
wx2.9.5.81 (py2.5 to py3.2) in an initial attempt.
I found the following issues:
wx.DatePickerCtrl is not there, what should be used instead?
wx.gizmos.TreeListCtrl seems not to be there too, what should be used instead?
No module named wx.propgrid, will it be supported?
maskededit seems to be unported (uses types module, old string
manipulation and some py2 constructs), are you planing to maintain it
in phoenix?
I could fix some minor issues in maskedit.py and numctrl.py (attached
diff) but I'm not sure about several needed changes, for example:
in numctrl.py I get the following exception about Validator_IsSilent,
how should it be fixed?
File "/home/reingart/gui2py/3/wx/lib/masked/numctrl.py", line 971,
in _disallowValue
if not wx.Validator_IsSilent():
AttributeError: 'module' object has no attribute 'Validator_IsSilent'
In listctrl (and in maskededit too), its checks with type to look for
a string / unicode, how this check should be made in py3k + phoenix?
File "/home/reingart/gui2py/3/wx/lib/mixins/listctrl.py", line 157,
in __ColumnSorter
if type(item1) == unicode and type(item2) == unicode:
Sorry if this is replied in some place, I did a quick search at
http://wiki.wxpython.org/ProjectPhoenix but didn't found specific info
For the curious, this is how gui2py looks in phoenix + py3k:
https://gui2py.googlecode.com/hg/screenshots/ubuntu/sample_phoenix.png
(yes, it looks almost identical to classic, including notebook, tree,
grid, list, label, textbox, etc., but with the mentioned issues on
maskedit and datepicker)
https://gui2py.googlecode.com/hg/screenshots/ubuntu/minimal_phoenix.png
The visual designer is not working right now as TreeListCtrl and
PropertyGrid are not supported on this version of phoenix, but the
applications made with the library run well (with the issues described
before).
If anyone is interested, in the commit messages are the description of
the changes needed to port from classic to phoenix:
https://code.google.com/p/gui2py/source/list
For more info in the project, see:
https://code.google.com/p/gui2py/
Let me know if I can be of any further help
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
masked.diff (2.58 KB)