Expo wrote:
I have some question on wx.DateSpan and wxPython 2.8.3.0.
wx.DateSpan().Days(2) works on 2.6 and get a TypeError on 2.8, the docs say the method Days() return a date span object corresponding to the given number of days.
If I try with wx.DateSpan().SetDays(2) I get a date span according to Days() method description.
Bug or change in method functionality ?
Bug. The new properties are overriding the static methods with the same names... You can do this instead:
ds = wx.DateSpan(days=2)
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!