From: Roger B. <ro...@ro...> - 2003-12-03 22:04:32
|
> Is there any interest in making this > forward compatible with the upcoming 2.5.x release of wxPython?? There haven't been any releases of 2.5 yet (not even betas) so I haven't been touching it (yet). Once 2.5 is available I do want to move to it quickly. > It shouldn't affect it's ability to run with 2.4.x at all. Sadly that isn't true. > Global in all .py files: > DrawText( becomes DrawTextXY( > DrawBitmap( becomes DrawBitmapXY( > DrawRotatedText( becomes DrawRotatedTextXY( > DrawLine(x1, y1, x2, y2) becomes DrawLine((x1, y1), (x2, y2)) The XY methods are not present in 2.4 so there would have to be conditional code depending on the wx version. I am definitely not going to put that in while developers would still have to compile their own copy of wxPython. > pubsub.py: > from wx.lib.pubsub import Publication It looks like pubsub is being changed somewhat drastically. > Calendar.attrevenmonth=CalendarCellAttributes() > Calendar.attroddmonth=CalendarCellAttributes() I can see the wx issues with having those as class variables and will put in a fix. > phonebook.py / phonebookeditor.py: > remove pubsub references for now pubsub is needed for things to work correctly. The program will appear to run without it, but the category list will end up being blank and being saved out that way. I am also about to use it for maintaining the lists of wallpaper and ringtones. Roger |