Cleanup after cancelling in a FileDialog

wxFileDialog::ShowModal
int ShowModal()

Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL
otherwise.

HTH, Malcolm

···

----- Original Message -----
From: "Stanfield, Vicki {D167~Indianapolis}" <vicki.stanfield@ROCHE.COM>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Wednesday, August 04, 2004 5:57 PM
Subject: [wxPython-users] Cleanup after cancelling in a FileDialog

I am using a file dialog several places in my code, and when a user
chooses cancel instead of choosing a file, I need to do some cleanup.
How do I generate an event to know when the user has chosen cancel
instead of choosing a file?

Thank you,

Vicki Stanfield
3S Confidence Meter Project
"A pessimist sees the difficulty in every opportunity; an optimist sees
the opportunity in every difficulty."
-- Winston Churchill

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org