On 5/1/07, Franco Amato <eurofrank at gmail.com> wrote: > I would like to check if a wxTextCtrl contains only digit (0...9) and > display an error if there are some characters (a...z) You can use wxString::IsNumber() Regards, Bryan Petty