From: Michele B. <mb...@it...> - 2002-01-28 11:26:41
|
Hi! > my $dialog = Wx::MessageBox( 'Exiting Worms GUI!', 'Message', > wxOK|wxCANCEL, $this); I would try I a wxMessageDialog: my $dialog = Wx::MessageDialog($this, 'message', 'Exiting Worms GUI', wxOK | wxCANCEL, wxDefaultPosition); The ShowModal() you called should work fine then. Be sure to import the constants, prepending something like: use Wx qw(wxOK wxCANCEL wxDefaultPosition); or: use Wx qw(:everything) Michele. -- Michele Beltrame http://www.italpro.net/mb/ ICQ# 76660101 - e-mail: mb...@it... |