wxDialog, OnOK

exactly, wxEVT_BUTTON,
put something like self.Validate where you either do a evt.Skip() (if all is well) or... show an error message and sink the event (if there are errors )

···

On Mon, 22 Mar 2004 16:35:56 +0000, David ASN <asndav@hotmail.com> wrote:

But what evenhandler, wxEVT_BUTTON or what?
can you explain it a bit more, please

Thanks.
David Asensio Ortega

--
Peter Damoc
Hacker Wannabe
http://www.sigmacore.net/about.html