Is DatePickerCtrl been update to work with Python

2019-07-20 10:41发布

问题:

I am using Python 3.4, wxPython_Phoenix-3.0.3 and windows 7 (64 bit). I posted a prior issue with my system not recognizing wx.DatePickerCtrl providing the following message: test8010.py", line 10, in init self.datepick = wx.DatePickerCtrl(self.panel,-1, pos=(20,15), AttributeError: 'module' object has no attribute 'DatePickerCtrl'.

The it occurred to me that maybe DatePickerCtrl does not work with Python 3.4. Does anyone know? Thanks a bunch from a newby.

Michael

回答1:

Yes, but in Phoenix it is in wx.adv, see: http://wxpython.org/Phoenix/docs/html/adv.1classindex.html

Another good documentation page for changes in Phoenix is: http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html



标签: wxpython