[Tutor] wxPython newbie

alan.gauld@bt.com alan.gauld@bt.com
Wed Jan 8 11:43:01 2003


> Second, what's returned when a user presses the "Yes"
> and "No" buttons in a dialog box whose parameters
> include wxYES_NO? 

When in doubt print it out is my motto.

Why not just add  a couple of lines:

	res = d.ShowModal()
	print res

See what gets printed and substitute in your program...

Alan G.