|
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:34
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/docs Modified Files: migration_guide.txt Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: migration_guide.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/migration_guide.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** migration_guide.txt 14 Aug 2004 18:53:04 -0000 1.1 --- migration_guide.txt 15 Aug 2004 17:34:55 -0000 1.2 *************** *** 89,92 **** --- 89,95 ---- The dialog module is now a thin wrapper around the wx.lib.dialogs module. The biggest change to your code is that the result of dialogs is now a DialogResults class instead of a dictionary. See the dialogs sample for examples of usage, but in general if you had something like result['accepted'] it will now be result.accepted. + The order of the message and title args for any dialogs that take both has been reversed from previous versions of PythonCard. The message arg comes before title now. For example, + + dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) Calendar Component |