[Boa Constr] Re: wx25update.py with a dialog
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2005-03-09 14:41:47
|
Hi Tim, Attached is a version of wx25upgrade.py which was updated to convert: # - wxInitAllImageHandlers( to wx.InitAllImageHandlers( # - orient=wx to orient=wx. # - kind=wxITEM to kind=wx.ITEM # - wxIcon( to wx.Icon( # - wxBITMAP to wx.BITMAP # - wxBitmap( to wx.Bitmap( # - wxSize( to wx.Size( # - wxNullBitmap to wx.NullBitmap # - wxPoint( to wx.Point( Initial test shows that it all works, but wouldn't mind a some more eyes to look over/test some converted files. See you Werner Tim Black wrote: > Werner F. Bruhin wrote: > >> Let me know how it goes. > > > I just upgraded an app that is 1600 lines long, in 4 files, in under a > half hour. The conversions which the upgrader script did not perform > are listed in the dictionary in the attached file. (One map(lambda > statement was not upgraded; now I know how to fix that, so no problem.) > Those extra conversions were easy to do by attempting to run the app, > then following the traceback to the line needing conversion, and doing a > "Replace all" to convert the unconverted code. > > 2 out of 3 frames now open without problem in the Designer. I think the > one frame that has a problem is my fault and not the upgrade script's. > > This means the upgrade script is good enough to get my apps up and > running again in Boa 0.4. : ) > > Kind regards, > Tim Black |