[wxPython] Custom dialog

This may be a stupid question, but I didn't spend too much
time on wxWindow, and any answer will teach me a lot
about it.

Let say I like very much the wxFileDialog.
Easy to use, well package.... but now, I would like
to use it to save a file with a special option (a checked box)
to let the user decide if he would like to email someone that
the new saved file is ready.
something like

dlg = wxFileDialog(self,dataApp.SAVEWINNAME, ".", "", "", wxSAVE,
DefaultSettingForMailOption)
if dlg.ShowModal() == wxID_OK:
            if dlg.SendMail():
                    pass

What is the good way to do something like this?
How much of the existing behavior of wxFileDialog
should I be able to reuse OR/AND a good pointer to
some documentation

Thanks
Eric

Let say I like very much the wxFileDialog.
Easy to use, well package.... but now, I would like
to use it to save a file with a special option (a checked box)
to let the user decide if he would like to email someone that
the new saved file is ready.
something like

dlg = wxFileDialog(self,dataApp.SAVEWINNAME, ".", "", "", wxSAVE,
DefaultSettingForMailOption)
if dlg.ShowModal() == wxID_OK:
            if dlg.SendMail():
                    pass

What is the good way to do something like this?
How much of the existing behavior of wxFileDialog
should I be able to reuse OR/AND a good pointer to
some documentation

On MSW since the wxFileDialog is just a wrapper around a win32 API function
you can't derive from it to change it. You may be able to on the other
platforms, but since it was not designed to be derived from there may be
some unforseen issues... Perhaps there is some other way to do this in your
UI?

···

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