[Python-checkins] python/dist/src/Mac/Lib EasyDialogs.py,1.37,1.38
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 02 Aug 2002 04:03:24 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv6827
Modified Files:
EasyDialogs.py
Log Message:
Slightly better error message in case of missing resources.
Index: EasyDialogs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/EasyDialogs.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** EasyDialogs.py 26 Jun 2002 15:14:48 -0000 1.37
--- EasyDialogs.py 2 Aug 2002 11:03:19 -0000 1.38
***************
*** 51,55 ****
d = GetNewDialog(id, -1)
if not d:
! print "Can't get DLOG resource with id =", id
return
h = d.GetDialogItemAsControl(2)
--- 51,55 ----
d = GetNewDialog(id, -1)
if not d:
! print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(2)
***************
*** 82,86 ****
d = GetNewDialog(id, -1)
if not d:
! print "Can't get DLOG resource with id =", id
return
h = d.GetDialogItemAsControl(3)
--- 82,86 ----
d = GetNewDialog(id, -1)
if not d:
! print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(3)
***************
*** 122,126 ****
d = GetNewDialog(id, -1)
if not d:
! print "Can't get DLOG resource with id =", id
return
h = d.GetDialogItemAsControl(3)
--- 122,126 ----
d = GetNewDialog(id, -1)
if not d:
! print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(3)
***************
*** 164,168 ****
d = GetNewDialog(id, -1)
if not d:
! print "Can't get DLOG resource with id =", id
return
# Button assignments:
--- 164,168 ----
d = GetNewDialog(id, -1)
if not d:
! print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
# Button assignments:
***************
*** 394,398 ****
d = GetNewDialog(id, -1)
if not d:
! print "Can't get DLOG resource with id =", id
return
# h = d.GetDialogItemAsControl(3)
--- 394,398 ----
d = GetNewDialog(id, -1)
if not d:
! print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
# h = d.GetDialogItemAsControl(3)