Mac/Windows dialog behavior

Charles Hartman wrote:

I don't know why what you wrote WOULD work on Mac, but try replacing
if dialogReturnValue == wx.WX_OK:
With
if dialogReturnValue == wx.ID_OK:
David

No, sorry, that was just me typing from memory. (Bad plan!) Of course you're right. It remains true that
if dialogReturnValue == wx.ID_OK:
*does* work on Mac and apparently does *not* work in the Windows version. Any idea why? It's not a kind of disparity I had expected.

Is there a button on the dialog with an ID of wx.ID_OK?

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!