I knew I would regret the decision to give Phoenix a try again (on 2.7). Phoenix works quite well for standard things, but quite a lot has changed, so it takes some time to get things to work.
My app (closed source, plotting) depends (mainly) on matplotlib and its wx backend.
I set up a virtualenv and tried to get it work. Amazingly the installation with pip and the Phoenix wheel (wxPython_Phoenix-3.0.1.dev76380-cp27-none-win32.whl) worked quite well.
These were the stumbling blocks for me (in that order):
- No module named wx.calendar: It took some time to re-discover where all the modules/objects had gone
#import wx.calendar as wc
from wx.lib.agw.persist.persist_handlers import PyDate2wxDate, wxDate2PyDate
wx.DatePickerCtrl and its events
from wx.adv import DatePickerCtrl, DP_DROPDOWN, DP_SHOWCENTURY, DP_ALLOWNONE
from wx.adv import EVT_DATE_CHANGED
InsertItem instead of InsertStringItem
SetItem instead of SetStringItem
PyTextDataObject deprecated
Changing to TextDataObject the DropTarget.GetData() gives only an empty string (UNRESOLVED)
- matplotlib 1.3.1 related issues (I have seen you, werner, to be on github/matplotlib regarding Phoenix, but did not see what the outcome has been)
wxversion required by backend_wx, but does not exist (my Hack: remove wxversion from matplotlib in virtualenv)
Some constants in matplotlib wx backend are no longer defined (commented them out)
…\backend_wx.py", line 923, in gui_
repaint
drawDC.BeginDrawing()
AttributeError: ‘PaintDC’ object has no attribute ‘BeginDrawing’
Here I then gave up on it because I am perfectly fine with 2.9.5, where everything works nice
Appreciate that some things are more concise in wxPython (Phoenix), e. g. the SetItem instead of the SetStringItem for the ListCtrl
Will have a look in the drag/drop issue later on.
With best regards
···
On Tuesday, April 22, 2014 1:38:59 PM UTC+2, werner wrote:
wxPython 3.0.1 (Phoenix)
What was missing for you? Maybe it helps to get things moved up the
priority list if you mention it here on the dev list.